{
  "slug": "azd-auth-token-defaults-to-raw-token-output-1ac693b6e749",
  "title": "azd auth token defaults to raw token output",
  "tools": [
    "azd"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-04-04T06:20:12.000Z",
  "announced_at": "2026-04-04T06:20:12.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a workflow needs an access token, run `azd auth token` for raw token output; use `--output json` when it needs structured output including expiration metadata.",
    "examples": [
      "azd auth token",
      "azd auth token --output json"
    ],
    "gotchas": [
      "Version: 1.23.14",
      "--output json: Selects structured JSON output, including expiration metadata; without it, the command prints the raw access token."
    ]
  },
  "why_it_matters": "Retrieve an access token for a coding workflow that consumes the token directly or needs its expiration metadata.",
  "sources": [
    "https://github.com/Azure/azure-dev/releases/tag/azure-dev-cli_1.23.14"
  ],
  "rank": 0.90028,
  "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": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-397232f60f64381d-4:gate",
    "evidence_hash": "c9a0a213eb5fc13859189d781fa66c516753edadfca461d6121762cb26282382"
  },
  "review": {
    "draft_hash": "546defc240f78c17087d66dcc945715efc845e21785647d4053918bcc4e139c2",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.90 >= 0.9; 2 needed) and Jev gave 0.69 (>= 0.6 needed)."
  }
}
