public class DefaultCredentials extends Object implements Credentials
Credentials
.Constructor and Description |
---|
DefaultCredentials(String accessKeyId,
String secretAccessKey) |
DefaultCredentials(String accessKeyId,
String secretAccessKey,
String securityToken) |
Modifier and Type | Method and Description |
---|---|
String |
getAccessKeyId()
Returns the access key ID for this credentials.
|
String |
getSecretAccessKey()
Returns the secret access key for this credentials.
|
String |
getSecurityToken()
Returns the security token for this credentials.
|
boolean |
useSecurityToken()
Determines whether to use security token for http requests.
|
public String getAccessKeyId()
Credentials
getAccessKeyId
in interface Credentials
public String getSecretAccessKey()
Credentials
getSecretAccessKey
in interface Credentials
public String getSecurityToken()
Credentials
getSecurityToken
in interface Credentials
public boolean useSecurityToken()
Credentials
useSecurityToken
in interface Credentials
Copyright © 2021. All Rights Reserved.