mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
Docs: update move commands (#28900)
- Add a namespace example for secrets move - Add a namespace example for auth method move - Add post-move considerations for both
This commit is contained in:
@@ -28,7 +28,21 @@ Move the existing auth method at ns1/approle/ to ns2/new-approle/:
|
||||
$ vault auth move ns1/auth/approle/ ns2/auth/new-approle/
|
||||
```
|
||||
|
||||
Move the existing auth method `auth/userpass` to the `education/certification/approle` namespace.
|
||||
|
||||
```shell-session
|
||||
$ vault auth move auth/userpass education/certification/auth/userpass
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
There are no flags beyond the [standard set of flags](/vault/docs/commands)
|
||||
included on all commands.
|
||||
|
||||
## Post-move considerations
|
||||
|
||||
Each namespace has its own policies, auth methods, secrets engines, tokens,
|
||||
identity entities and groups. You must consider the following after moving a mount across namespaces:
|
||||
|
||||
- Necessary policies exist in the target namespace
|
||||
- Entities and groups might need updates after an auth method move
|
||||
|
||||
@@ -28,7 +28,22 @@ Move the existing secrets engine at ns1/secret/ to ns2/kv/:
|
||||
$ vault secrets move ns1/secret/ ns2/kv/
|
||||
```
|
||||
|
||||
Move the existing secrets in `team-vault` to the `vault-edu/` namespace.
|
||||
|
||||
```shell-session
|
||||
$ vault secrets move team-vault \
|
||||
vault-edu/team-vault
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
There are no flags beyond the [standard set of flags](/vault/docs/commands)
|
||||
included on all commands.
|
||||
|
||||
## Post-move considerations
|
||||
|
||||
Each namespace has its own policies, auth methods, secrets engines, tokens,
|
||||
identity entities and groups. You must consider the following after moving a mount across namespaces:
|
||||
|
||||
- Necessary policies exist in the target namespace
|
||||
- Entities and groups might need updating after an auth mount migration
|
||||
|
||||
Reference in New Issue
Block a user