2017-09-08 02:12:03 +00:00
|
|
|
---
|
2020-01-18 00:18:09 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: secrets move - Command
|
|
|
|
sidebar_title: <code>move</code>
|
2017-09-08 02:12:03 +00:00
|
|
|
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
|
|
|
|
2020-05-21 17:18:17 +00:00
|
|
|
```shell-session
|
2017-09-20 20:05:00 +00:00
|
|
|
$ vault secrets move secret/ kv/
|
2017-09-08 02:12:03 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2020-01-22 20:05:41 +00:00
|
|
|
There are no flags beyond the [standard set of flags](/docs/commands)
|
2017-09-08 02:12:03 +00:00
|
|
|
included on all commands.
|