Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] support osx keyring auth w/o using a macos dialog box #1099

Open
jinyius opened this issue Dec 21, 2022 · 0 comments
Open
Labels

Comments

@jinyius
Copy link

jinyius commented Dec 21, 2022

an offshoot of #535

it would be nice if the --prompt=terminal flag would also force any keyring auth to use cli prompts instead of the native keyring dialog box that pops up (without focus i might add, which means i have to move my hands away from the keyboard). this is especially beneficial if you're connected remotely to your machine via ssh.

there is a way to do keyring unlocking using the security command:

security unlock $HOME/Library/Keychains/aws-vault.keychain-db

but unfortunately, this command isn't smart enough to know if the keyring is already unlocked so it always requests for your password even if it's unlocked. also, there's no other security subcommand or other mechanism within macos to figure out if a keyring is already unlocked through the command line afaict.

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants