Class RESTSigV4AuthManager

java.lang.Object
org.apache.iceberg.aws.RESTSigV4AuthManager
All Implemented Interfaces:
AutoCloseable, org.apache.iceberg.rest.auth.AuthManager

public class RESTSigV4AuthManager extends Object implements org.apache.iceberg.rest.auth.AuthManager
An AuthManager that authenticates requests with SigV4.

It takes a delegate AuthManager to handle double authentication cases, e.g. on top of OAuth2.

  • Constructor Details

    • RESTSigV4AuthManager

      public RESTSigV4AuthManager(String ignored, org.apache.iceberg.rest.auth.AuthManager delegate)
  • Method Details

    • initSession

      public RESTSigV4AuthSession initSession(org.apache.iceberg.rest.RESTClient initClient, Map<String,String> properties)
      Specified by:
      initSession in interface org.apache.iceberg.rest.auth.AuthManager
    • catalogSession

      public RESTSigV4AuthSession catalogSession(org.apache.iceberg.rest.RESTClient sharedClient, Map<String,String> properties)
      Specified by:
      catalogSession in interface org.apache.iceberg.rest.auth.AuthManager
    • contextualSession

      public RESTSigV4AuthSession contextualSession(org.apache.iceberg.catalog.SessionCatalog.SessionContext context, org.apache.iceberg.rest.auth.AuthSession parent)
      Specified by:
      contextualSession in interface org.apache.iceberg.rest.auth.AuthManager
    • tableSession

      public RESTSigV4AuthSession tableSession(org.apache.iceberg.catalog.TableIdentifier table, Map<String,String> properties, org.apache.iceberg.rest.auth.AuthSession parent)
      Specified by:
      tableSession in interface org.apache.iceberg.rest.auth.AuthManager
    • close

      public void close()
      Specified by:
      close in interface org.apache.iceberg.rest.auth.AuthManager
      Specified by:
      close in interface AutoCloseable