You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(fetch): add --identity-name option for custom credential lookup (#715) (#774)
The `fetch access` command hardcoded credential lookup to `<name>-oauth`
via `computeManagedOAuthCredentialName()`, causing failures when users
create identities with custom names. This adds an `--identity-name`
option that lets users specify which credential to use for OAuth token
fetch, falling back to the default convention when omitted.
When no matching credential is found, the error message now lists all
available OAuth credentials and suggests using `--identity-name`.
Constraint: Must remain backward compatible — omitting --identity-name preserves existing behavior
Rejected: Modify computeManagedOAuthCredentialName globally | would break other consumers
Confidence: high
Scope-risk: narrow
Not-tested: TUI interactive flow and invoke command auto-fetch paths (noted as follow-up)
0 commit comments