public interface S3ExpressAuthScheme extends AuthScheme<S3ExpressSessionCredentials>
This authentication scheme performs pre-authentication with S3 express using S3Client.createSession(com.ibm.cos.v2.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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SCHEME_ID
The Scheme-Id for S3Express auth scheme
|
| Modifier and Type | Method and Description |
|---|---|
static S3ExpressAuthScheme |
create() |
IdentityProvider<S3ExpressSessionCredentials> |
identityProvider(IdentityProviders providers)
Retrieve the
AwsCredentialsIdentity based IdentityProvider associated with this authentication scheme. |
HttpSigner<S3ExpressSessionCredentials> |
signer()
Retrieve the
AwsV4HttpSigner associated with this authentication scheme. |
schemeIdstatic final String SCHEME_ID
static S3ExpressAuthScheme create()
IdentityProvider<S3ExpressSessionCredentials> identityProvider(IdentityProviders providers)
AwsCredentialsIdentity based IdentityProvider associated with this authentication scheme.identityProvider in interface AuthScheme<S3ExpressSessionCredentials>HttpSigner<S3ExpressSessionCredentials> signer()
AwsV4HttpSigner associated with this authentication scheme.signer in interface AuthScheme<S3ExpressSessionCredentials>Copyright © 2026. All rights reserved.