CLI reference/Rotation, leases and syncs/syncs
clavis syncs use-connection
Move a sync onto a shared connection, dropping its own credential
sh
clavis syncs use-connection ID [flags]Point an existing sync at a saved connection, or turn the sync's own credential into a new connection that other syncs can reuse.
Examples
sh
clavis syncs use-connection 123e4567 --name "Home Forgejo"Flags
--connection string- existing connection ID
--name string- create a connection with this name from the sync's credential
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