Interface StorageConfiguration
- All Superinterfaces:
S3AccessConfig
@ConfigMapping(prefix="polaris.storage")
public interface StorageConfiguration
extends S3AccessConfig
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Field Summary
FieldsFields inherited from interface org.apache.polaris.service.storage.aws.S3AccessConfig
DEFAULT_MAX_STS_CLIENT_CACHE_ENTRIES -
Method Summary
Modifier and TypeMethodDescriptionaws()Deprecated.Deprecated.Useaws().secretKey()instead.The GCP access token to use for authentication.The lifespan of the GCP access token.default Supplier<com.google.auth.oauth2.GoogleCredentials> gcpCredentialsSupplier(Clock clock) default Supplier<software.amazon.awssdk.services.sts.StsClient> default Supplier<software.amazon.awssdk.services.sts.StsClient> stsClientSupplier(boolean withCredentials) default software.amazon.awssdk.auth.credentials.AwsCredentialsProviderdefault software.amazon.awssdk.auth.credentials.AwsCredentialsProviderstsCredentials(String storageName) Methods inherited from interface org.apache.polaris.service.storage.aws.S3AccessConfig
clientsCacheMaxSize, connectionAcquisitionTimeout, connectionMaxIdleTime, connectionTimeToLive, connectTimeout, effectiveClientsCacheMaxSize, expectContinueEnabled, maxHttpConnections, readTimeout
-
Field Details
-
DEFAULT_TOKEN_LIFESPAN
-
-
Method Details
-
aws
-
awsAccessKey
Deprecated.Useaws().accessKey()instead. -
awsSecretKey
Deprecated.Useaws().secretKey()instead. -
gcpAccessToken
The GCP access token to use for authentication. If not present, the default credentials provider chain will be used. -
gcpAccessTokenLifespan
The lifespan of the GCP access token. If not present, the default token lifespan will be used. -
stsClientSupplier
-
stsClientSupplier
default Supplier<software.amazon.awssdk.services.sts.StsClient> stsClientSupplier(boolean withCredentials) -
stsCredentials
default software.amazon.awssdk.auth.credentials.AwsCredentialsProvider stsCredentials() -
stsCredentials
default software.amazon.awssdk.auth.credentials.AwsCredentialsProvider stsCredentials(String storageName) -
gcpCredentialsSupplier
-
aws().accessKey()instead.