2017-09-08 02:12:03 +00:00
|
|
|
---
|
|
|
|
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
|
|
|
|
|
2017-09-20 20:05:00 +00:00
|
|
|
Move the existing secrets engine at secret/ to kv/:
|
2017-09-08 02:12:03 +00:00
|
|
|
|
|
|
|
```text
|
2017-09-20 20:05:00 +00:00
|
|
|
$ vault secrets move secret/ kv/
|
2017-09-08 02:12:03 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
There are no flags beyond the [standard set of flags](/docs/commands/index.html)
|
|
|
|
included on all commands.
|