open-vault/website/pages/docs/commands/delete.mdx
Jeff Escalante 4f87851926 [website] Link Cleaning (#8205)
* update dependencies

* remove hard-coded vaultproject.io on local links

* remove 'index.html' from internal links

* remove '.html' at end of internal links

* manual review cleanup

Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com>
2020-01-22 12:05:41 -08:00

41 lines
832 B
Plaintext

---
layout: docs
page_title: delete - Command
sidebar_title: <code>delete</code>
description: |-
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:
```text
$ vault delete secret/my-secret
```
Uninstall an encryption key in the transit backend:
```text
$ vault delete transit/keys/my-key
```
Delete an IAM role:
```text
$ vault delete aws/roles/ops
```
## Usage
There are no flags beyond the [standard set of flags](/docs/commands)
included on all commands.