»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.


Move the existing secrets engine at secret/ to kv/:

$ vault secrets move secret/ kv/
$ vault secrets move secret/ kv/


There are no flags beyond the standard set of flags included on all commands.