CLI reference/Rotation, leases and syncs
clavis rotation
Schedule and run secret rotation
sh
clavis rotation <command>Rotate secrets automatically: a Postgres role password, an AWS IAM access key, or anything behind your own webhook. The Rotation page in the web app shows the same schedules, runs and errors.
Commands
clavis rotation createCreate a rotation policyclavis rotation disablePause a rotation scheduleclavis rotation enableResume a paused rotation scheduleclavis rotation lsList rotation policiesclavis rotation rmDelete a rotation policyclavis rotation runRun a rotation nowclavis rotation runsShow rotation run historyclavis rotation statusShow managed and stale manual-rotation secretsGlobal 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