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()
AWSCredentials
getAWSAccessKeyId
in interface AWSCredentials
public String getAWSSecretKey()
AWSCredentials
getAWSSecretKey
in interface AWSCredentials
public String getAccountId()
AccountIdAware
getAccountId
in interface AccountIdAware
public String getProviderName()
ProviderNameAware
getProviderName
in interface ProviderNameAware