HashiCorp Cloud Platform
hcp vault-secrets secrets delete
Command: hcp vault-secrets secrets delete
The hcp vault-secrets secrets delete
command deletes a static secret under an
Vault Secrets application.
Usage
$ hcp vault-secrets secrets delete NAME [Optional Flags]
Examples
Delete a secret from Vault Secrets application on active profile:
$ hcp vault-secrets secrets delete secret_1
Delete a secret from specified Vault Secrets application:
$ hcp vault-secrets secrets delete secret_2 --app test-app
Positional arguments
NAME
- The name of the secret to create.
Inherited Flags
--app=NAME
- The name of the Vault Secrets application. If not specified, the value from the active profile will be used.