v8

latestSwagger 2.02026-07-13121636.1 KB

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.

post/deletedsecrets/{secret-name}/recover

Path parameters

secret-namestring required

The name of the deleted secret.

Query parameters

api-versionstring required

The API version to use for this operation.

Response

The request has succeeded.

valuestring

The secret value.

idstring

The secret id.

contentTypestring

The content type of the secret.

tagsobject

Application specific metadata in the form of key-value pairs.

kidstring

If this is a secret backing a KV certificate, then this field specifies the corresponding key backing the KV certificate.

managedboolean

True if the secret's lifetime is managed by key vault. If this is a secret backing a certificate, then managed will be true.