azd auth token defaults to raw token output
Introduced 2026-04-04 · score 0.90
HOW TO USE IT
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.
azd auth tokenazd auth token --output jsonWHY THIS HELPS
Retrieve an access token for a coding workflow that consumes the token directly or needs its expiration metadata.
REQUIREMENTS AND LIMITATIONS
- Version: 1.23.14
- --output json: Selects structured JSON output, including expiration metadata; without it, the command prints the raw access token.
FIRST-PARTY EVIDENCE
Check the installed version and the source before using it. Entry JSON