Example usage for Java com.amazonaws.auth STSSessionCredentialsProvider fields, constructors, methods, implement or subclass
The text is from its open source code.
STSSessionCredentialsProvider(AWSCredentials longLivedCredentials) Constructs a new STSSessionCredentialsProvider, which will use the specified long lived AWS credentials to make a request to the AWS Security Token Service (STS) to request short lived session credentials, which will then be returned by this class's #getCredentials() method. | |
STSSessionCredentialsProvider(AWSCredentialsProvider longLivedCredentialsProvider) Constructs a new STSSessionCredentialsProvider, which will use the specified credentials provider (which vends long lived AWS credentials) to make a request to the AWS Security Token Service (STS) to request short lived session credentials, which will then be returned by this class's #getCredentials() method. | |
STSSessionCredentialsProvider(AWSSecurityTokenService sts) Constructs a new STSSessionCredentialsProvider with the alredy configured STS client. |