{{define "title"}}account settings{{end}} {{define "content"}}

Account settings

{{if .Notice}}{{end}} {{if .Message}}

{{.Message}}

{{end}}

SSH keys

Your keys are your identity here. A full key can run commands and push; a git key can only move git data, which is what a CI checkout wants.

{{if .Keys}}
{{range .Keys}} {{end}}
fingerprinttypescope
{{.Fingerprint}} {{.Algo}} {{.Scope}}
{{else}}

No SSH keys โ€” which cannot be right, since you signed in.

{{end}}
Add an SSH key

Email addresses

A verified address is what ties your signed commits to this account, and where notifications go.

{{if .Emails}}{{end}}
Add an address

OpenPGP keys

Only needed if you sign commits with GPG. SSH signing (gpg.format = ssh) uses the keys above.

{{if .PGP}}
{{range .PGP}} {{end}}
fingerprintidentities
{{.Fingerprint}} {{range .UIDs}}{{.}}
{{end}}{{if .Revoked}}revoked{{else if .Expired}}expired{{end}}
{{else}}

No OpenPGP keys.

{{end}}
Add a PGP key

On SSH only

Anything whose input is a credential stays on the command line, where it can be piped instead of pasted:

gitbay auth token mint --name laptop   # API tokens
gitbay auth export > account.bundle    # your account, portable
gitbay admin ...                       # instance administration

All of the above works from stock OpenSSH too: ssh git@{{.Host}} auth whoami.

{{end}}