Skip to main content

recover_deleted_secrets

Creates, updates, deletes, gets or lists a recover_deleted_secrets resource.

Overview

Namerecover_deleted_secrets
TypeResource
Idazure.key_vault_secrets.recover_deleted_secrets

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
recover_deleted_secretexecsecret_name, vault_nameRecovers the deleted secret to the latest version. Recovers the deleted secret in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the secrets/recover permission.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
secret_namestringThe name of the deleted secret. Required.
vault_namestringKey vault name. (default: )

Lifecycle Methods

Recovers the deleted secret to the latest version. Recovers the deleted secret in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the secrets/recover permission.

EXEC azure.key_vault_secrets.recover_deleted_secrets.recover_deleted_secret 
@secret_name='{{ secret_name }}' --required,
@vault_name='{{ vault_name }}' --required
;