

# GetAcmeExternalAccountBindingCredentials
<a name="API_GetAcmeExternalAccountBindingCredentials"></a>

Retrieves the key ID and MAC key credentials for an external account binding. These credentials are used by ACME clients during account registration to bind to the endpoint.

## Request Syntax
<a name="API_GetAcmeExternalAccountBindingCredentials_RequestSyntax"></a>

```
{
   "AcmeExternalAccountBindingArn": "{{string}}"
}
```

## Request Parameters
<a name="API_GetAcmeExternalAccountBindingCredentials_RequestParameters"></a>

For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

The request accepts the following data in JSON format.

**Note**  
In the following list, the required parameters are described first.

 ** [AcmeExternalAccountBindingArn](#API_GetAcmeExternalAccountBindingCredentials_RequestSyntax) **   <a name="ACM-GetAcmeExternalAccountBindingCredentials-request-AcmeExternalAccountBindingArn"></a>
The Amazon Resource Name (ARN) of the ACME external account binding.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 200.  
Pattern: `arn:aws[a-z-]*:acm:[a-z0-9-]+:[0-9]{12}:acme-endpoint/[a-zA-Z0-9-]+/acme-external-account-binding/[a-zA-Z0-9-]+`   
Required: Yes

## Response Syntax
<a name="API_GetAcmeExternalAccountBindingCredentials_ResponseSyntax"></a>

```
{
   "KeyId": "string",
   "MacKey": "string"
}
```

## Response Elements
<a name="API_GetAcmeExternalAccountBindingCredentials_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [KeyId](#API_GetAcmeExternalAccountBindingCredentials_ResponseSyntax) **   <a name="ACM-GetAcmeExternalAccountBindingCredentials-response-KeyId"></a>
The key identifier for the external account binding credentials.  
Type: String

 ** [MacKey](#API_GetAcmeExternalAccountBindingCredentials_ResponseSyntax) **   <a name="ACM-GetAcmeExternalAccountBindingCredentials-response-MacKey"></a>
The MAC key for the external account binding credentials.  
Type: String

## Errors
<a name="API_GetAcmeExternalAccountBindingCredentials_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You do not have access required to perform this action.  
HTTP Status Code: 400

 ** InternalServerException **   
The request processing has failed because of an unknown error, exception, or failure.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The specified certificate cannot be found in the caller's account or the caller's account cannot be found.  
HTTP Status Code: 400

 ** ThrottlingException **   
The request was denied because it exceeded a quota.    
 ** throttlingReasons **   
One or more reasons why the request was throttled.
HTTP Status Code: 400

 ** ValidationException **   
The supplied input failed to satisfy constraints of an AWS service.  
HTTP Status Code: 400

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/acm-2015-12-08/GetAcmeExternalAccountBindingCredentials) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/acm-2015-12-08/GetAcmeExternalAccountBindingCredentials) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/acm-2015-12-08/GetAcmeExternalAccountBindingCredentials) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/acm-2015-12-08/GetAcmeExternalAccountBindingCredentials) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/acm-2015-12-08/GetAcmeExternalAccountBindingCredentials) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/acm-2015-12-08/GetAcmeExternalAccountBindingCredentials) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/acm-2015-12-08/GetAcmeExternalAccountBindingCredentials) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/acm-2015-12-08/GetAcmeExternalAccountBindingCredentials) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/acm-2015-12-08/GetAcmeExternalAccountBindingCredentials) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/acm-2015-12-08/GetAcmeExternalAccountBindingCredentials) 