Skip to content

chore: add an --all flag so users can clear all sessions#664

Merged
mcncl merged 1 commit intomainfrom
chore/logout_all
Feb 25, 2026
Merged

chore: add an --all flag so users can clear all sessions#664
mcncl merged 1 commit intomainfrom
chore/logout_all

Conversation

@mcncl
Copy link
Contributor

@mcncl mcncl commented Feb 25, 2026

Description

Currently users have to log out of each organisation one-by-one, using a --org flag or by running bk auth logout in a session. This allows them to quickly logout of all sessions and clears the relevant configs/keychains.

Changes

  • allows uses to run bk auth logout --all and will clear all sessions in keychain and the config file
  • unsets things like selected_org in config

Testing

  • Code is formatted (with go fmt ./...)

@mcncl mcncl requested a review from a team as a code owner February 25, 2026 00:55
- allows uses to run `bk auth logout --all` and will clear all sessions in keychain and the config file
- unsets things like `selected_org` in config
@mcncl mcncl merged commit cbb8549 into main Feb 25, 2026
1 check passed
@mcncl mcncl deleted the chore/logout_all branch February 25, 2026 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants