Servers and accounts
Servers and accounts
2 min read
Versora talks to servers in two ways:
- through Git, for clone, fetch, pull and push. Over HTTPS, it uses the server's username and token; over SSH, your SSH keys;
- through the GitLab or GitHub API, for the integrations: merge requests, in-app review, pipelines, issues, notifications, push rules, CODEOWNERS and key uploads.
Both use the same credential, registered once per server. It works with GitLab.com, with your company's self-hosted GitLab, with GitHub.com and with GitHub Enterprise Server.
- Register the server in Git servers (key icon on the tab bar) with a personal access token. Or use Sign in with GitLab / Sign in with GitHub, which signs you in through the browser, with no personal token.
- If you use SSH, check your keys in Preferences › SSH and GPG keys and upload the public key to the server.
- If you have more than one account on the same server (personal and work), add the other one in Preferences › Accounts. Each repository picks the right account on its own.
| What | Where |
|---|---|
| Credential (username and token) per server | key icon on the tab bar › Git servers |
| Sign-in through the browser | Preferences › Accounts › Sign in with GitLab… / Sign in with GitHub… |
| Multiple accounts, default account, each repository's account | Preferences › Accounts; palette "Account for this repository…" |
| SSH and GPG keys | Preferences › SSH and GPG keys |
| Token validity | each server's row in Git servers; Preferences › Network › Server tokens |
| Proxy and certificates | Preferences › Network (see Network and updates) |
- Tokens, passwords and OAuth sign-ins are kept in the Windows credential vault. No Versora file stores the secret.
- Versora doesn't write anything to your Git configuration to hand over the credential: it answers Git as a credential helper, only in the commands it runs itself.
- The app never reads the SSH or GPG private key.
- The API is accessed over HTTPS only, with the Windows certificates.
- Exporting settings takes the tokens along only if you ask, and encrypted with a password.
| Page | What it covers |
|---|---|
| Git servers | adding, updating and removing credentials; token scopes; how Git receives the credential (token validity is covered in Server tokens) |
| Sign in with GitLab or GitHub | OAuth sign-in through the browser or with a code; application registration by the administrator |
| Multiple accounts on the same server | default account, account that owns the remote, manual choice per repository |
| SSH keys | listing, generating, testing, uploading, the Windows agent, signing commits |
| GPG keys | listing, generating, uploading, signing commits |
For IT
The company policy can limit the accepted servers (allowed_servers), pin the OAuth client id for each server (oauth_client_ids) and hide the keys page (preferences.hidden: [keys]). See Administrators.