Package com.amazonaws.auth
Interface AWSSessionCredentialsProvider
- All Superinterfaces:
AWSCredentialsProvider
- All Known Implementing Classes:
STSAssumeRoleSessionCredentialsProvider
,STSSessionCredentialsProvider
,WebIdentityFederationSessionCredentialsProvider
-
Method Summary
Modifier and TypeMethodDescriptionReturns AWSCredentials which the caller can use to authorize an AWS request.Methods inherited from interface com.amazonaws.auth.AWSCredentialsProvider
refresh
-
Method Details
-
getCredentials
AWSSessionCredentials getCredentials()Description copied from interface:AWSCredentialsProvider
Returns AWSCredentials which the caller can use to authorize an AWS request. Each implementation of AWSCredentialsProvider can chose its own strategy for loading credentials. For example, an implementation might load credentials from an existing key management system, or load new credentials when credentials are rotated.- Specified by:
getCredentials
in interfaceAWSCredentialsProvider
- Returns:
- AWSCredentials which the caller can use to authorize an AWS request.
-