vhsm secrets move

Learn to move an existing secrets engine to a new path in a vHSM server

The vhsm secrets move command moves an existing secrets engine to a new path. While all configurations remain intact, any active leases from the old path are revoked. This command supports moving secrets engines within or across namespaces using namespace prefixes in the arguments.

The operation triggers a remount process, returning a migration ID that is used to track progress until completion (success or failure).

Important: Moving an engine will revoke all leases associated with the old path!

Usage

vhsm secrets move <old-path> <new-path>

Example

Move a secrets engine within namespaces

vhsm secrets move ns1/secret/ ns2/kv/

This moves the secrets engine from ns1/secret/ to ns2/kv/.

Available Options

This command does not have any additional flags beyond the standard CLI flags applicable to all commands.

Last updated

Was this helpful?