Delete rotating secrets
Rotating secrets are created for a supported integration.
Refer to the Design a secret strategy documentation for information and tips on app and secret conventions.
Prerequisites
- An HCP IAM user or service principal with the HCP contributor role or higher.
- An HCP Vault Secrets app and rotating secret created.
- Authenticated to the HCP Portal or HCP CLI
Examples
Note
You can delete a secert, and all versions of the secret using the CLI. Use the HCP UI or API to delete a specific version of a secret.
Delete a secret from Vault Secrets application on active profile:
Delete a secret from specified Vault Secrets application: