{
  "slug": "bk-auth-login-accepts-organization-and-token-6db446c1c6de",
  "title": "bk auth login accepts organization and token",
  "tools": [
    "bk"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-03-04T01:48:16.000Z",
  "announced_at": "2026-03-04T01:48:16.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When logging in with an API token, run `bk auth login` with the organization slug and token. Credentials are stored in the keychain, and `bk configure` is an alias.",
    "examples": [
      "bk auth login --org <organization-slug> --token <api-token>",
      "bk configure --org <organization-slug> --token <api-token>"
    ],
    "gotchas": [
      "Version: v3.31.0",
      "--org (required): Organization slug or UUID to request access for; required with `--token`.",
      "--token (required): API token to store; selects non-OAuth login and requires `--org`.",
      "Prerequisite: Create an API access token with access to the target organization. You must be a member of that organization to generate and use its token.",
      "Prerequisite: The token’s selected scopes determine its API permissions."
    ]
  },
  "why_it_matters": "Log in to Buildkite from a development environment using an organization and token.",
  "before": "Run `bk configure` and enter the organization slug and API token when prompted.",
  "sources": [
    "https://github.com/buildkite/cli/releases/tag/v3.31.0",
    "https://buildkite.com/docs/platform/cli/reference/auth",
    "https://buildkite.com/docs/platform/cli/configuration",
    "https://buildkite.com/docs/apis/managing-api-tokens"
  ],
  "rank": 0.96029,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2b-20261017",
    "verdict_id": "wave2b-20261017:wave2b-20261017-81391ceaebc84e51-1:gate",
    "evidence_hash": "de5f0cb9e7ef8183e4f3e09ade729cde721c5d2792c85bba28b38407177e5c62"
  },
  "review": {
    "draft_hash": "939a52f46b578c7a4613c15e8d7716aa89852569c1633220aa9c3d8d2862b851",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.96 >= 0.9; 2 needed) and Jev gave 0.73 (>= 0.6 needed)."
  }
}
