vhsm operator
The vhsm operator
command groups subcommands for vHSM operators to manage and diagnose a vHSM server. These commands are primarily used for initialization, sealing/unsealing, key rotation, leadership management, and diagnostics.
Most end-users will not need to interact with these commands.
Usage
Subcommands
Subcommand
Description
diagnose
Troubleshoot problems starting vHSM
generate-root
Generates a new root token
init
Initializes a vHSM server
key-status
Provides information about the active encryption key
members
Returns the list of nodes in the cluster
migrate
Migrates vHSM data between storage backends
raft
Interacts with vHSM's Raft storage backend
rekey
Generates new unseal keys
rotate
Rotates the underlying encryption key
seal
Seals the vHSM server, making it inaccessible
step-down
Forces vHSM to resign active duty
unseal
Unseals the vHSM server
usage
Lists historical client counts
Examples
Initialize a new cluster
vault operator init
Force vHSM to step down as leader
vault operator step-down
Rotate vHSM’s encryption key
vault operator rotate
Example Output for init
init
Last updated
Was this helpful?