Restoring an Azure Key
Use the post /v1/cckm/azure/keys/{id}/restore
API to restore a backed up key to a vault.
Syntax
Here, {id}
represents the key ID.
Request Parameter
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
azure_cloud_key_backup_id (optional) | string | Id of the Azure cloud key backup which will be used to restore. By default, the latest key backup will be restored. |
key_vault (optional) | string | Id or name of the vault where the key will be restored. By default, the key will be restored to the vault from where it was deleted. |
Example Request
Example Response
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.