-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change adds an `export` subcommand which prints the `(*oauth2.Token).AccessToken` field for the specified cluster to stdout, when: * a token is stored for the specified cluster * the token is not expired This isn't any less secure than using `engflow_auth get`, which is another variation on the same intent; since the token storage currently used is backed by the OS keychain, only the current user should be able to fetch tokens they've stored. Tested: unit tests added Bug: linear/CUS-367
- Loading branch information
1 parent
c50599b
commit 5507d13
Showing
2 changed files
with
136 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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