

# Credentials
<a name="API_Credentials"></a>

 AWS credentials for API authentication.

## Contents
<a name="API_Credentials_Contents"></a>

 ** AccessKeyId **   
The access key ID that identifies the temporary security credentials.  
Type: String  
Length Constraints: Minimum length of 16. Maximum length of 128.  
Pattern: `[\w]*`   
Required: Yes

 ** Expiration **   
The date on which the current credentials expire.  
Type: Timestamp  
Required: Yes

 ** SecretAccessKey **   
The secret access key that can be used to sign requests.  
Type: String  
Required: Yes

 ** SessionToken **   
The token that users must pass to the service API to use the temporary credentials.  
Type: String  
Required: Yes

## See Also
<a name="API_Credentials_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/sts-2011-06-15/Credentials) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sts-2011-06-15/Credentials) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sts-2011-06-15/Credentials) 