Interface StorageConfiguration

All Superinterfaces:
S3AccessConfig

@ConfigMapping(prefix="polaris.storage") public interface StorageConfiguration extends S3AccessConfig
  • Field Details

    • DEFAULT_TOKEN_LIFESPAN

      static final Duration DEFAULT_TOKEN_LIFESPAN
  • Method Details

    • aws

    • awsAccessKey

      @Deprecated default Optional<String> awsAccessKey()
      Deprecated.
      Use aws().accessKey() instead.
    • awsSecretKey

      @Deprecated default Optional<String> awsSecretKey()
      Deprecated.
      Use aws().secretKey() instead.
    • gcpAccessToken

      @WithName("gcp.token") Optional<String> gcpAccessToken()
      The GCP access token to use for authentication. If not present, the default credentials provider chain will be used.
    • gcpAccessTokenLifespan

      @WithName("gcp.lifespan") Optional<Duration> gcpAccessTokenLifespan()
      The lifespan of the GCP access token. If not present, the default token lifespan will be used.
    • stsClientSupplier

      default Supplier<software.amazon.awssdk.services.sts.StsClient> 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

      default Supplier<com.google.auth.oauth2.GoogleCredentials> gcpCredentialsSupplier(Clock clock)