Deleting a Secret Replica

Learn how to delete a source secret's cross-region replicas.

  • Secret replicas must be deleted from the source secret details page in the Console. Because replicas are read-only, edit and delete functions aren't available in the Console pages for the replicas.

    1. On the Secrets list page, find the source secret that you want to work with and select the name of the secret to open the details page. If you need help finding the list page, see Listing Secrets.
    2. In the Secret Information tab, confirm that the Replication Role is "Source."
    3. In the Secret Information tab, select View replica details.
    4. In the Replica Details panel, find the row with the replicated secret that you're deleting. Check the Destination Region and Vault values to confirm that you're deleting the correct secret replica.
    5. Select the Actions menu (three dots) for the row, then select Delete Replica.
    6. Select Delete in the confirmation dialog to complete the deletion.
  • Use the oci vault secret update or oci vault secret update-base64 command to update the replication configuration of a source secret, depending on the content type of the secret you're updating.

    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.

  • Use the UpdateSecret API with the Management Endpoint to update the replication configuration a source secret.