Interface S3ExpressAuthScheme
- All Superinterfaces:
AuthScheme<S3ExpressSessionCredentials>
- All Known Implementing Classes:
CrtS3ExpressNoOpAuthScheme,DefaultS3ExpressAuthScheme
An auth scheme for faster authentication when interacting with S3 express.
This authentication scheme performs pre-authentication with S3 express using S3Client.createSession(software.amazon.awssdk.services.s3.model.CreateSessionRequest). These
S3ExpressSessionCredentials are cached for future requests to the same bucket that are using the same credential
provider.
By default, this auth scheme is included on every S3Client instance and does not need to be explicitly enabled.
If S3 express authentication is not desired for any reason, you can disable it on the client with
S3BaseClientBuilder.disableS3ExpressSessionAuth(Boolean). When disabled, normal sigv4 will be used instead.
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic S3ExpressAuthSchemecreate()identityProvider(IdentityProviders providers) Retrieve theAwsCredentialsIdentitybasedIdentityProviderassociated with this authentication scheme.signer()Retrieve theAwsV4HttpSignerassociated with this authentication scheme.Methods inherited from interface software.amazon.awssdk.http.auth.spi.scheme.AuthScheme
schemeId
-
Field Details
-
SCHEME_ID
-
-
Method Details
-
create
-
identityProvider
Retrieve theAwsCredentialsIdentitybasedIdentityProviderassociated with this authentication scheme.- Specified by:
identityProviderin interfaceAuthScheme<S3ExpressSessionCredentials>
-
signer
HttpSigner<S3ExpressSessionCredentials> signer()Retrieve theAwsV4HttpSignerassociated with this authentication scheme.- Specified by:
signerin interfaceAuthScheme<S3ExpressSessionCredentials>
-