Interface CredentialsInterface
Provides access to the AWS credentials used for accessing AWS services: AWS access key ID, secret access key, and security token. These credentials are used to securely sign requests to AWS services.
Direct known implementers
Methods Summary
-
getAccessKeyId ( )
Returns the AWS access key ID for this credentials object.
-
getSecretKey ( )
Returns the AWS secret access key for this credentials object.
-
getSecurityToken ( )
Get the associated security token if available
-
getExpiration ( )
Get the UNIX timestamp in which the credentials will expire
-
isExpired ( )
Check if the credentials are expired
-
toArray ( )
Converts the credentials to an associative array.
Methods Details
string getAccessKeyId ( )
Returns the AWS access key ID for this credentials object.
Returns
string |
string getSecretKey ( )
Returns the AWS secret access key for this credentials object.
Returns
string |
string|null getSecurityToken ( )
Get the associated security token if available
Returns
string|null |
integer|null getExpiration ( )
Get the UNIX timestamp in which the credentials will expire
Returns
integer|null |
boolean isExpired ( )
Check if the credentials are expired
Returns
boolean |
array toArray ( )
Converts the credentials to an associative array.
Returns
array |