Interface StorageConfiguration
- All Superinterfaces:
S3AccessConfig
@ConfigMapping(prefix="polaris.storage")
public interface StorageConfiguration
extends S3AccessConfig
-
Field Summary
FieldsFields inherited from interface org.apache.polaris.service.storage.aws.S3AccessConfig
DEFAULT_MAX_STS_CLIENT_CACHE_ENTRIES -
Method Summary
Modifier and TypeMethodDescriptionThe AWS access key to use for authentication.The AWS secret key to use for authentication.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.AwsCredentialsProviderMethods 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
-
awsAccessKey
The AWS access key to use for authentication. If not present, the default credentials provider chain will be used. -
awsSecretKey
The AWS secret key to use for authentication. If not present, the default credentials provider chain will be used. -
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() -
gcpCredentialsSupplier
-