

# GetActivationCredentials

Returns activation credentials and image information for the specified appliance.

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

```
GET /appliances/activation-credentials/{{ApplianceArn}} HTTP/1.1
```

## URI Request Parameters
<a name="API_BKE_GetActivationCredentials_RequestParameters"></a>

The request uses the following URI parameters.

 ** [ApplianceArn](#API_BKE_GetActivationCredentials_RequestSyntax) **   <a name="Backup-BKE_GetActivationCredentials-request-uri-ApplianceArn"></a>
The Amazon Resource Name (ARN) of the appliance.  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Pattern: `arn:aws[a-z0-9-]{0,30}:backup-external:[a-z0-9-]{1,30}:[0-9]{12}:appliance:[a-zA-Z0-9-]{36}`   
Required: Yes

## Request Body
<a name="API_BKE_GetActivationCredentials_RequestBody"></a>

The request does not have a request body.

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

```
HTTP/1.1 200
Content-type: application/json

{
   "ActivationToken": "string",
   "ActivationTokenExpiresAt": number,
   "AwsOvaImageRootCertificateDownloadUrl": "string",
   "Image": "string"
}
```

## Response Elements
<a name="API_BKE_GetActivationCredentials_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.

 ** [ActivationToken](#API_BKE_GetActivationCredentials_ResponseSyntax) **   <a name="Backup-BKE_GetActivationCredentials-response-ActivationToken"></a>
The token used to activate the appliance.  
Type: String

 ** [ActivationTokenExpiresAt](#API_BKE_GetActivationCredentials_ResponseSyntax) **   <a name="Backup-BKE_GetActivationCredentials-response-ActivationTokenExpiresAt"></a>
The date and time that the activation token expires.  
Type: Timestamp

 ** [AwsOvaImageRootCertificateDownloadUrl](#API_BKE_GetActivationCredentials_ResponseSyntax) **   <a name="Backup-BKE_GetActivationCredentials-response-AwsOvaImageRootCertificateDownloadUrl"></a>
The URL to download the root certificate for the appliance's Open Virtual Appliance (OVA) image.  
Type: String

 ** [Image](#API_BKE_GetActivationCredentials_ResponseSyntax) **   <a name="Backup-BKE_GetActivationCredentials-response-Image"></a>
The appliance image to deploy: the Amazon Machine Image (AMI) ID for an `EC2` appliance, or the URL to download the Open Virtual Appliance (OVA) image for a `VMWARE` appliance.  
Type: String

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

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

 ** AccessDeniedException **   
The request was denied because you do not have permission to perform the requested operation.  
HTTP Status Code: 403

 ** ConflictException **   
The request conflicts with the current state of the specified resource.  
HTTP Status Code: 409

 ** InternalServerException **   
The request failed because of an internal server error.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The specified resource was not found.  
HTTP Status Code: 404

 ** ThrottlingException **   
The request was denied because the request rate is too high.  
HTTP Status Code: 429

 ** ValidationException **   
The request contains invalid parameters.  
HTTP Status Code: 400

## See Also
<a name="API_BKE_GetActivationCredentials_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/backup-external-2026-01-01/GetActivationCredentials) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/backup-external-2026-01-01/GetActivationCredentials) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/backup-external-2026-01-01/GetActivationCredentials) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/backup-external-2026-01-01/GetActivationCredentials) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/backup-external-2026-01-01/GetActivationCredentials) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/backup-external-2026-01-01/GetActivationCredentials) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/backup-external-2026-01-01/GetActivationCredentials) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/backup-external-2026-01-01/GetActivationCredentials) 
+  [AWS SDK for Python (Boto3)](https://docs.aws.amazon.com/goto/boto3/backup-external-2026-01-01/GetActivationCredentials) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/backup-external-2026-01-01/GetActivationCredentials) 