public abstract class SystemSettingsCredentialsProvider extends Object implements AwsCredentialsProvider
SdkSystemSetting.AWS_SESSION_TOKENsystem settings. This does not load the credentials directly. Instead, the actual mapping of setting to credentials is done by child classes. This allows us to separately load the credentials from system properties and environment variables so that customers can remove one or the other from their credential chain, or build a different chain with these pieces of functionality separated.
|Constructor and Description|
|Modifier and Type||Method and Description|
public AwsCredentials resolveCredentials()
AwsCredentialsthat can be used 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.
If an error occurs during the loading of credentials or credentials could not be found, a runtime exception will be raised.
Copyright © 2020 Amazon Web Services, Inc. All Rights Reserved.