mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-12-16 18:37:25 +00:00
Add "secrets move" command documentation
This commit is contained in:
31
website/source/docs/commands/secrets/move.html.md
Normal file
31
website/source/docs/commands/secrets/move.html.md
Normal 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.
|
||||||
Reference in New Issue
Block a user