Restoring Deleted Azure Secrets
Use the post /v1/cckm/azure/secrets/{id}/restore
to restore a purged Azure secret from backup. Only Azure secrets with the status DELETED can be restored from backup.
Syntax
Here, {id}
is the resource ID of the secret on the CipherTrust Manager.
Request Parameter
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
key_vault | string | Name or ID of the Azure vault where the secret will be restored. By default, the secret will be restored to the vault from where it was deleted. |
Example Request
Example Response
The sample output shows that the parameter status
becomes AVAILABLE
. This indicates that the secret is restored.
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.