Interface StorageConfiguration


public interface StorageConfiguration
  • Field Details

    • DEFAULT_TOKEN_LIFESPAN

      static final Duration DEFAULT_TOKEN_LIFESPAN
  • Method Details

    • awsAccessKey

      Optional<String> awsAccessKey()
      The AWS access key to use for authentication. If not present, the default credentials provider chain will be used.
    • awsSecretKey

      Optional<String> awsSecretKey()
      The AWS secret key to use for authentication. If not present, the default credentials provider chain will be used.
    • gcpAccessToken

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

      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()
    • gcpCredentialsSupplier

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