Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

collar auth

Global options apply to every command below; see the command index.

Sign in to Forgejo or OpenBao and check saved credentials

Usage: collar auth <COMMAND>

Commands:
  login   Sign in through your browser and save the verified credential
  logout  Remove this host's saved credential without revoking it on the server
  bao     Sign in to OpenBao for project secrets; separate from Forgejo login
  status  Verify your API credential against the selected forge
  help    Print this message or the help of the given subcommand(s)

Options:
  -h, --help
          Print help (see a summary with '-h')

Examples:
  collar auth login
  collar auth status
  collar auth bao login

collar auth login

Sign in through your browser and save the verified credential

Usage: collar auth login [OPTIONS]

Options:
      --with-token
          Read a personal access token from stdin instead of opening a browser

      --token
          Use a hidden personal-access-token prompt instead of browser SSO

      --web
          Open browser sign-in instead of refreshing the saved session

  -h, --help
          Print help (see a summary with '-h')

Examples:
  collar auth login
  collar auth login --token

Browser sign-in is the default; choose university SSO in Forgejo. Git SSH authentication is separate. Headless sessions can use COLLAR_HOST and COLLAR_TOKEN supplied through a secret environment.

collar auth logout

Remove this host's saved credential without revoking it on the server

Usage: collar auth logout

Options:
  -h, --help
          Print help

collar auth bao

Sign in to OpenBao for project secrets; separate from Forgejo login

Usage: collar auth bao <COMMAND>

Commands:
  login   Authenticate with ScottyLabs OIDC before entering a project shell
  status  Verify the current token without displaying it
  help    Print this message or the help of the given subcommand(s)

Options:
  -h, --help
          Print help

collar auth bao login

Authenticate with ScottyLabs OIDC before entering a project shell

Usage: collar auth bao login

Options:
  -h, --help
          Print help

collar auth bao status

Verify the current token without displaying it

Usage: collar auth bao status

Options:
  -h, --help
          Print help

collar auth status

Verify your API credential against the selected forge

Usage: collar auth status

Options:
  -h, --help
          Print help