Restoring a key

Restoring a vault key using the OCI Console and API interfaces.

    1. Open the navigation menu, click Identity & Security, and then click Vault.
    2. Under List Scope, in the Compartment list, click the name of the compartment of the vault that contains the key that you want to restore.
    3. From the list of vaults in the compartment, click the name of the vault. You must choose the same vault where the key was backed up originally. (If needed, also change the list scope to the compartment where the key was at the time of backup.)
    4. Click Master Encryption Keys, and then click Restore Key.
    5. Choose a source. You can import a backup from an Existing Object Storage Bucket or a pre-authenticated Object Storage URL that you can write to. You can also Upload a File from your computer or a mapped network location.
    6. Do one of the following, depending on what you chose in the previous step:
      • Choose a bucket from the dropdown menu. If needed, you can change the compartment to find a bucket in a different compartment. Then, specify the Backup Name. Avoid entering confidential information.
      • Click Object Storage URL, and then provide a pre-authenticated URL to an object.
    7. When you are finished, click Restore Key.
  • Use the command-name command and required parameters to <task-being-performed>:

    oci service-name command-name --required-param-name variable-name ... [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the RestoreKeyFromFile operation to restore a key from a backup file.

    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.