public class BasicSessionCredentials extends Object implements AWSSessionCredentials
Constructor and Description |
---|
BasicSessionCredentials(String awsAccessKey,
String awsSecretKey,
String sessionToken) |
Modifier and Type | Method and Description |
---|---|
String |
getAWSAccessKeyId()
Returns the AWS access key ID for this credentials object.
|
String |
getAWSSecretKey()
Returns the AWS secret access key for this credentials object.
|
String |
getSessionToken()
Returns the session token for this session.
|
public String getAWSAccessKeyId()
AWSCredentials
getAWSAccessKeyId
in interface AWSCredentials
public String getAWSSecretKey()
AWSCredentials
getAWSSecretKey
in interface AWSCredentials
public String getSessionToken()
AWSSessionCredentials
getSessionToken
in interface AWSSessionCredentials
Copyright © 2020. All rights reserved.