-
Notifications
You must be signed in to change notification settings - Fork 2
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
Usage requires aws value #19
Comments
Hi thanks for checking out the project. We don't use SSO at our company for AWS Login atm. So I can't test it myself 😞 When you use aws-vault and want to use it for getting session credentials, you should set In regards to MFAs: Are you then prompted to input an MFA afterwards? If you input this MFA in your shell as well, this doesn't work with this package, because I couldn't get to forward this prompt to an emacs process, which then forwards the input result back to the shell process. I think there is a way though, because magit is also able to do it. But I avoided this so far and instead set a GUI app as the MFA prompt for aws-vault, like described here. Hope this helps to get things running already 🙂 I'm not sure when I find the time to revisit the MFA problem, because I have it as well currently, because I'm more on Linux again and there |
Hi again, for linux I found zenity as good MFA prompt. You can add the following line to your (setenv "AWS_VAULT_PROMPT" "zenity") |
Looks very promising, but I can't get it to allow me to log in without using AWS vault; I don't know if this is the same issue as the known limitation "AWS-Vault MFA Shell Prompts don't work in aws.el": https://github.com/snowiow/aws.el#aws-vault-mfa-shell-prompts-dont-work-in-awsel
My setup:
Behavior:
aws
produces a list of serviceSelecting anything from the services list seems to fail
aws-login
emits "NOT SUPPORTED" to the minibufferMy org uses SSO and I can login to the aws cli inside vterm.
The text was updated successfully, but these errors were encountered: