clavis share
Create a client-encrypted one-time share link
sh
clavis share KEY [flags]Create a one-time link for a single secret, for handing a value to a person. The value is encrypted on your machine; only ciphertext is uploaded and the key stays in the link's #fragment, which never reaches the server.
Examples
sh
clavis share DATABASE_URLValid for 2 hours and 3 views
sh
clavis share API_KEY --ttl 2h --views 3Also require a password
sh
clavis share API_KEY --prompt-passwordFlags
--password string- optional password required to claim
--prompt-password- prompt for a password
--ttl duration- link lifetime (1h–720h) Default:
24h --views int- maximum claims (1–100) Default:
1
Details
The server enforces expiry, view limits and the optional password. Share links are for people, not automation.
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