v8

latestSwagger 2.02026-07-13254292.3 KB

Restores a backed up key to a vault.

Imports a previously backed up key into Azure Key Vault, restoring the key, its key identifier, attributes and access control policies. The RESTORE operation may be used to import a previously backed up key. Individual versions of a key cannot be restored. The key is restored in its entirety with the same key name as it had when it was backed up. If the key name is not available in the target Key Vault, the RESTORE operation will be rejected. While the key name is retained during restore, the final key identifier will change if the key is restored to a different vault. Restore will restore all versions and preserve version identifiers. The RESTORE operation is subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the source Key Vault The user must have RESTORE permission in the target Key Vault. This operation requires the keys/restore permission.

post/keys/restore

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

valuestring base64url required

The backup blob associated with a key bundle.

Response

The request has succeeded.

tagsobject

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

managedboolean

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