This is an automated email from the ASF dual-hosted git repository.

etudenhoefner pushed a commit to branch deprecate-creds-supplier
in repository https://gitbox.apache.org/repos/asf/iceberg.git

commit 9c9816356233df7af2b5ca0f4e10a240b5913558
Author: Eduard Tudenhoefner <etudenhoef...@gmail.com>
AuthorDate: Thu Apr 10 16:03:53 2025 +0200

    Api: Deprecate CredentialSupplier
    
    This API isn't used anywhere and we should deprecate it now and eventually 
remove it with 2.0.0
---
 api/src/main/java/org/apache/iceberg/io/CredentialSupplier.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/api/src/main/java/org/apache/iceberg/io/CredentialSupplier.java 
b/api/src/main/java/org/apache/iceberg/io/CredentialSupplier.java
index e5180bb1c1..09bdf17d54 100644
--- a/api/src/main/java/org/apache/iceberg/io/CredentialSupplier.java
+++ b/api/src/main/java/org/apache/iceberg/io/CredentialSupplier.java
@@ -25,7 +25,10 @@ package org.apache.iceberg.io;
  * needed to access the table's files. Systems that do not use FileIO can use 
this interface to get
  * the configured credential as a string, and use the credential for file 
access via other IO
  * libraries.
+ *
+ * @deprecated since 1.10.0, will be removed in 2.0.0
  */
+@Deprecated
 public interface CredentialSupplier {
   /** Returns the credential string */
   String getCredential();

Reply via email to