CLI reference/Rotation, leases and syncs/tokens
clavis tokens test
Check that a connection works for the syncs that use it
sh
clavis tokens test ID [flags]Check that the provider accepts the credential. For Forgejo it also checks Actions access in every repository or organization the connection's syncs push to; --repo or --org adds one more destination.
Examples
sh
clavis tokens test 123e4567 --repo team/webFlags
--repo string- Forgejo repository (owner/name) to check as well
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