ec620a7765
* implement mdx remote * fix an unfenced code block * fix partials path Co-authored-by: Jim Kalafut <jkalafut@hashicorp.com>
41 lines
859 B
Plaintext
41 lines
859 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:
|
|
|
|
```shell-session
|
|
$ vault delete secret/my-secret
|
|
```
|
|
|
|
Uninstall an encryption key in the transit backend:
|
|
|
|
```shell-session
|
|
$ vault delete transit/keys/my-key
|
|
```
|
|
|
|
Delete an IAM role:
|
|
|
|
```shell-session
|
|
$ vault delete aws/roles/ops
|
|
```
|
|
|
|
## Usage
|
|
|
|
There are no flags beyond the [standard set of flags](/docs/commands)
|
|
included on all commands.
|