Repository navigation
Conversation
|
Claude finished @alukach's task in 18s —— View job ✅ No blocking issues — safe to merge. I read the diff and the surrounding Notes (non-blocking)
Simplify (ponytail)
💰 Estimated review cost: $0.12 · 0m18s · 7 turns |
…dentials `source-coop auth logout` deletes the environment's login session and the role's cached credentials from the keyring and the file fallback, under their locks, session first so a `creds` that's minting finishes before its result is removed. For a non-production environment it also removes an old-format entry of that environment left in production's slot, which would otherwise be copied straight back. Other roles' credentials can't be listed, so they stay until they expire and can't be renewed. Tokens aren't revoked at the IdP. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
alukach
force-pushed
the
feat/logout-command
branch
from
October 14, 2026 16:31
ec195fe to
9b6d51c
Compare
This was referenced Oct 14, 2026
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rebuilt on #24, under
auth(#24 movedlogintoauth login). Replaces this PR's earlier top-levelsource-coop logout.What
source-coop auth logoutremoves an environment's login session and one role's cached credentials, from the keyring and the file fallback.--proxy-url/SOURCE_PROXY_URLand--role-arn/SOURCE_ROLE_ARNpick the environment and role, as forcreds.credsthat's minting finishes before its result is removed.read_credentialswould copy it straight back.This and #40 (
auth status) are independent, so either can land first. The other then has a one-line conflict in theauthcommand's description and in the README.Testing
remove_file_reports_whether_it_existed.cargo fmt,cargo clippy --all-targets -- -D warnings,cargo testandcargo test --features staging: 89 passed.HOMEin a scratch folder holding fake session and credential files. It removed both and said "Logged out", and a second run said "Not logged in". No real keychain entry or login was touched.🤖 Generated with Claude Code