public class AnonymousAWSCredentials extends Object implements AWSCredentials, AccountIdAware, ProviderNameAware
| Constructor and Description |
|---|
AnonymousAWSCredentials() |
AnonymousAWSCredentials(String providerName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountId()
Returns the AWS account id associated with this credentials object, if found.
|
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 |
getProviderName()
The name of the source that resolved these credentials, normally a credentials provider.
|
public AnonymousAWSCredentials()
public AnonymousAWSCredentials(String providerName)
public String getAWSAccessKeyId()
AWSCredentialsgetAWSAccessKeyId in interface AWSCredentialspublic String getAWSSecretKey()
AWSCredentialsgetAWSSecretKey in interface AWSCredentialspublic String getAccountId()
AccountIdAwaregetAccountId in interface AccountIdAwarepublic String getProviderName()
ProviderNameAwaregetProviderName in interface ProviderNameAware