CLI reference/Server and administration/admin shamir
clavis admin shamir split
Split the root key into threshold shares
sh
clavis admin shamir split [flags]Split the root key into --shares pieces, any --threshold of which rebuild it. --seal removes the root key, so the server won't start until unsealed.
Examples
sh
clavis admin shamir split --shares 5 --threshold 3 --out ./shares --seal --yesFlags
--config string- configuration file
--out string- directory for share files Default:
. --seal- remove the root key file after writing shares
--shares int- number of shares Default:
5 --threshold int- shares required to unseal Default:
3 --yes- confirm sealing
Details
Shares are as sensitive as the root key. Store them offline, with different people.
Global flags
These work with every command.
--debug- enable debug logging
--env string- environment slug
--json- output machine-readable JSON
--org string- organization slug
--overlay string- tenant/region overlay slug
--path string- folder path (default /)
--project string- project slug
--server string- Clavis server URL (default: from .clavis.yaml or saved login)
-h, --help- help for any command