Repository navigation
Is there a way to disable the gh auth token command? #8219
Answered
by
samcoe
AdnaneKhan
asked this question in
Q&A
|
Curious if this is possible? In cases where someone is using the cli but does not need to retrieve the plaintext OAuth token it would be helpful to disable that functionality as a defense in depth measure Maybe a flag that we can pass during login? |
Answered by
samcoe
Oct 20, 2023
Replies: 1 comment 2 replies
|
@AdnaneKhan Right now that is not possible. It is an interesting idea though. One complication is that extensions often use the command |
2 replies
Answer selected by
samcoe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@AdnaneKhan Right now that is not possible. It is an interesting idea though. One complication is that extensions often use the command
gh auth tokento retrieve an auth token for use in their extension. How would you propose we handle the case where the user does not want the plaintext token to be output but still wants to use extensions?