1---
2layout: "docs"
3page_title: "secrets disable - Command"
4sidebar_title: "<code>disable</code>"
5sidebar_current: "docs-commands-secrets-disable"
6description: |-
7  The "secrets disable" command disables an secrets engine at a given PATH. The
8  argument corresponds to the enabled PATH of the engine, not the TYPE! All
9  secrets created by this engine are revoked and its Vault data is removed.
10---
11
12# secrets disable
13
14The `secrets disable` command disables an secrets engine at a given PATH. The
15argument corresponds to the enabled PATH of the engine, not the TYPE! All
16secrets created by this engine are revoked and its Vault data is removed.
17
18Once an secrets engine is disabled, **all secrets generated via the secrets
19engine are immediately revoked.**
20
21## Examples
22
23Disable the secrets engine enabled at aws/:
24
25```text
26$ vault secrets disable aws/
27```
28
29## Usage
30
31There are no flags beyond the [standard set of flags](/docs/commands/index.html)
32included on all commands.
33