Add "secrets move" command documentation

This commit is contained in:
Seth Vargo
2017-09-07 22:12:03 -04:00
parent 4f5a073a62
commit bfaabc5cae

View File

@@ -0,0 +1,31 @@
---
layout: "docs"
page_title: "secrets move - Command"
sidebar_current: "docs-commands-secrets-move"
description: |-
The "secrets move" command moves an existing secrets engine to a new path. Any
leases from the old secrets engine are revoked, but all configuration
associated with the engine is preserved.
---
# secrets move
The `secrets move` command moves an existing secrets engine to a new path. Any
leases from the old secrets engine are revoked, but all configuration associated
with the engine is preserved.
**Moving an existing secrets engine will revoke any leases from the old
engine.**
## Examples
Move the existing secrets engine at secret/ to generic/:
```text
$ vault secrets move secret/ generic/
```
## Usage
There are no flags beyond the [standard set of flags](/docs/commands/index.html)
included on all commands.