Java com.amazonaws.auth STSSessionCredentialsProvider fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.auth STSSessionCredentialsProvider fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.auth STSSessionCredentialsProvider.

The text is from its open source code.

Constructor

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.