Class StsWebIdentityCredentialsProvider
- java.lang.Object
-
- software.amazon.awssdk.crt.CrtResource
-
- software.amazon.awssdk.crt.auth.credentials.CredentialsProvider
-
- software.amazon.awssdk.crt.auth.credentials.StsWebIdentityCredentialsProvider
-
- All Implemented Interfaces:
AutoCloseable
public class StsWebIdentityCredentialsProvider extends CredentialsProvider
Sts with web identity credentials provider sources a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity provider.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
StsWebIdentityCredentialsProvider.Builder
A builder for creating an STS web identity credentials provider.-
Nested classes/interfaces inherited from class software.amazon.awssdk.crt.CrtResource
CrtResource.ResourceInstance
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StsWebIdentityCredentialsProvider.Builder
builder()
Get a builder for creating an STS web identity credentials provider.static StsWebIdentityCredentialsProvider
create()
Create an STS web identity credentials provider.-
Methods inherited from class software.amazon.awssdk.crt.auth.credentials.CredentialsProvider
getCredentials, getShutdownCompleteFuture
-
Methods inherited from class software.amazon.awssdk.crt.CrtResource
addRef, addReferenceTo, close, collectNativeResource, collectNativeResources, decRef, getNativeHandle, getResourceLogDescription, isNull, logNativeResources, logNativeResources, removeReferenceTo, setDescription, waitForNoResources
-
-
-
-
Method Detail
-
create
public static StsWebIdentityCredentialsProvider create()
Create an STS web identity credentials provider.- Returns:
- An STS web identity credentials provider.
-
builder
public static StsWebIdentityCredentialsProvider.Builder builder()
Get a builder for creating an STS web identity credentials provider.- Returns:
- A builder.
-
-