open-vault/website/source/docs/commands/delete.html.md
RJ Spiker fca7cb3794 website: update sidebar_title in front matter to use <code> (#5636)
* website: replace deprecated <tt> with <code> in front matter sidebar_title

* website: wrap front matter sidebar_title in <code> for commands pages
2018-10-29 15:58:37 -04:00

889 B

layout page_title sidebar_title sidebar_current description
docs delete - Command <code>delete</code> docs-commands-delete The "delete" command deletes secrets and configuration from Vault at the given path. The behavior of "delete" is delegated to the backend corresponding to the given path.

delete

The delete command deletes secrets and configuration from Vault at the given path. The behavior of "delete" is delegated to the backend corresponding to the given path.

Examples

Remove data in the static secrets engine:

$ vault delete secret/my-secret

Uninstall an encryption key in the transit backend:

$ vault delete transit/keys/my-key

Delete an IAM role:

$ vault delete aws/roles/ops

Usage

There are no flags beyond the standard set of flags included on all commands.