All guides
Private Git (SSH deploy keys)
Deploy private GitLab, Bitbucket or GitHub repositories with a deploy key.
1Get a deploy key
Add service → Git repository with a git@ URL shows a deploy key.
bashoc deploy-key create2Register it
GitHub: Settings → Deploy keys · GitLab: Settings → Repository → Deploy keys · Bitbucket: Repository settings → Access keys. No write access needed; create a new key per repository.
3Create the service
bashoc service create --repo git@gitlab.com:acme/api.git --branch main --deploy-key <ID> --wait