Example usage for Java com.amazonaws.auth STSAssumeRoleSessionCredentialsProvider fields, constructors, methods, implement or subclass
The text is from its open source code.
STSAssumeRoleSessionCredentialsProvider(AWSCredentials longLivedCredentials, String roleArn, String roleSessionName) Constructs a new STSAssumeRoleSessionCredentialsProvider, which will use the specified long lived AWS credentials to make a request to the AWS Security Token Service (STS), uses the provided #roleArn to assume a role and then request short lived session credentials, which will then be returned by this class's #getCredentials() method. | |
STSAssumeRoleSessionCredentialsProvider(AWSCredentialsProvider longLivedCredentialsProvider, String roleArn, String roleSessionName) Constructs a new STSAssumeRoleSessionCredentialsProvider, which will use the specified credentials provider (which vends long lived AWS credentials) to make a request to the AWS Security Token Service (STS), usess the provided #roleArn to assume a role and then request short lived session credentials, which will then be returned by this class's #getCredentials() method. | |
STSAssumeRoleSessionCredentialsProvider(String roleArn, String roleSessionName) Constructs a new STSAssumeRoleSessionCredentialsProvider, which makes a request to the AWS Security Token Service (STS), uses the provided #roleArn to assume a role and then request short lived session credentials, which will then be returned by this class's #getCredentials() method. | |
STSAssumeRoleSessionCredentialsProvider(AWSCredentials longLivedCredentials, String roleArn, String roleSessionName, ClientConfiguration clientConfiguration) Constructs a new STSAssumeRoleSessionCredentialsProvider, which will use the specified long lived AWS credentials to make a request to the AWS Security Token Service (STS), uses the provided #roleArn to assume a role and then request short lived session credentials, which will then be returned by this class's #getCredentials() method. | |
STSAssumeRoleSessionCredentialsProvider(AWSCredentialsProvider longLivedCredentialsProvider, String roleArn, String roleSessionName, ClientConfiguration clientConfiguration) Constructs a new STSAssumeRoleSessionCredentialsProvider, which will use the specified credentials provider (which vends long lived AWS credentials) to make a request to the AWS Security Token Service (STS), uses the provided #roleArn to assume a role and then request short lived session credentials, which will then be returned by this class's #getCredentials() method. |
AWSSessionCredentials | getCredentials() |