GitKraken CLI

gk provider primary

Set the primary connection for a provider. The primary is used by default when no connection is specified.

Synopsis

Set the primary connection for a provider. The primary is used by default when no connection is specified.

gk provider primary [flags]

Examples


  gk provider primary github <tokenId>
  gk provider primary github <tokenId> --json

Options

  -h, --help   help for primary

Options inherited from parent commands

      --json             Emit machine-readable JSON on stdout (GK_OUTPUT=json sets it session-wide)
      --no-telemetry     Disable telemetry (OTel spans, Sentry) for this invocation
      --session string   (Optional) Isolate auth and cache under a named session

SEE ALSO

Auto generated by spf13/cobra on 16-Sep-2026

© 2023 Axosoft, LLC DBA GitKraken