Restoring Vault from a Backup
Learn how to restore a vault from a backup.
The restore vault feature is only available for virtual private vaults. You can monitor the progress of the restore operation through the work request for the restore. See Using the Console to View Work Requests for more information.
Use the oci kms management vault restore command to restore a vault from OCI Object Storage.
oci kms management vault restore --compartment-id <compartment_id>
Use the oci kms management vault restore-from-file command to restore a vault from an encrypted file.
oci kms management vault restore-from-file --compartment-id <compartment_id> --restore-vault-from-file-location <file_location>
Use the RestoreVaultFromFile API or the RestoreVaultFromObjectStore API with the Management Endpoint to restore a vault from a backup.
Note
The Management Endpoint is used for management operations including Create, Update, List, Get, and Delete. The Management Endpoint is also called the control plane URL or the KMSMANAGEMENT endpoint.
The Cryptographic Endpoint is used for cryptographic operations including Encrypt, Decrypt, Generate Data Encryption Key, Sign, and Verify. The Cryptographic Endpoint is also called the data plane URL or the KMSCRYPTO endpoint.
You can find the management and cryptographic endpoints in a vault's details metadata. See Getting a Vault's Details for instructions.
For regional endpoints for the Key Management, Secret Management, and Secret Retrieval APIs, see API Reference and Endpoints.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.