{
  "slug": "bk-config-credential-store-setting-controls-auth-credential-storage-f2078ed3559e",
  "title": "bk config credential_store setting controls auth credential storage",
  "tools": [
    "bk"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-09T03:04:05.000Z",
  "announced_at": "2026-06-09T03:04:05.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When configuring where `bk auth login` stores credentials, set the user-level `credential_store` key to `auto`, `keyring`, or `shm`; the CLI documents `shm` for in-memory `/dev/shm` storage.",
    "examples": [
      "bk config set credential_store shm",
      "bk config get credential_store"
    ],
    "gotchas": [
      "Version: v3.47.0",
      "<key> (required): Configuration key to set or get; use `credential_store`.",
      "<value> (required): Credential store value: `auto`, `keyring`, or `shm`.",
      "--local: Save to local `.bk.yaml` instead of user config. The v3.47.0 source says `credential_store` is user-config-only, so this flag cannot be used for this key.",
      "Accepted values are `auto`, `keyring`, and `shm`.",
      "Precedence is `--credential-store` flag > environment > local config > user config > `auto`.",
      "Docs conflict: The release note says precedence includes local config. The v3.47.0 `bk config set` source marks `credential_store` as user-config-only and rejects `--local` for it."
    ]
  },
  "why_it_matters": "Configure bk's credential store for authentication commands.",
  "before": "Use `bk auth login --credential-store <auto|keyring|shm>` to select the store on that login invocation.",
  "sources": [
    "https://github.com/buildkite/cli/releases/tag/v3.47.0",
    "https://github.com/buildkite/cli/pull/854",
    "https://buildkite.com/docs/platform/cli/reference/config",
    "https://github.com/buildkite/cli/blob/v3.47.0/cmd/config/set.go",
    "https://github.com/buildkite/cli/blob/v3.47.0/cmd/auth/login.go"
  ],
  "rank": 0.96017,
  "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-3970bc0d2c768c55-1:gate",
    "evidence_hash": "a433c70a65e6706a1e61948216f8f22adf79ac6668b8a528c374bfe6e5415b8b"
  },
  "review": {
    "draft_hash": "a535965cb2f53aaa70024bcaf958a4445fcfd466ee5c449af24d6241079ae61d",
    "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)."
  }
}
