Skip to content

feat(cli): add -A/--auth credential-source override flag#76

Merged
shadowhand merged 1 commit into
mainfrom
feat-auth-override-flag
Apr 27, 2026
Merged

feat(cli): add -A/--auth credential-source override flag#76
shadowhand merged 1 commit into
mainfrom
feat-auth-override-flag

Conversation

@shadowhand

@shadowhand shadowhand commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Introduce a new global -A/--auth= flag that swaps only the credential-source profile for an invocation. Organization, stage, base URL, and per-profile defaults continue to come from --profile (or the default profile).

The flag is rejected on rw auth login and rw auth logout (each inherently targets a specific profile); it is accepted on every other command, and rw auth status / rw auth header report on the override profile's credentials.

Refs: CL-2

@shadowhand shadowhand force-pushed the feat-auth-override-flag branch from 6dcdf58 to 8c8b5f3 Compare April 27, 2026 13:27
@shadowhand shadowhand requested a review from paulfalgout April 27, 2026 13:27
devin-ai-integration[bot]

This comment was marked as resolved.

Introduce a new global -A/--auth=<name> flag that swaps only the
credential-source profile for an invocation. Organization, stage,
base URL, and per-profile defaults continue to come from --profile
(or the default profile).

The flag is rejected on `rw auth login` and `rw auth logout` (each
inherently targets a specific profile); it is accepted on every
other command, and `rw auth status` / `rw auth header` report on
the override profile's credentials.

Refs: CL-2
@shadowhand shadowhand force-pushed the feat-auth-override-flag branch from 8c8b5f3 to 1dc47c3 Compare April 27, 2026 13:48
@shadowhand shadowhand merged commit 1664ea7 into main Apr 27, 2026
2 checks passed
@shadowhand shadowhand deleted the feat-auth-override-flag branch April 27, 2026 13:52
@shadowhand shadowhand added the feature New feature or request label Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant