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

Not working anymore on Mac OS Ventura #61

Open
nbs-jeanpierrefouche opened this issue Jan 26, 2023 · 3 comments
Open

Not working anymore on Mac OS Ventura #61

nbs-jeanpierrefouche opened this issue Jan 26, 2023 · 3 comments

Comments

@nbs-jeanpierrefouche
Copy link

It just returns nothing. No logs, no debuggability. Thanks.

@NelsonChen1982
Copy link

NelsonChen1982 commented May 24, 2023

I use aws sts to get credentials, maybe you can try

eval $(aws sts assume-role --profile {{YOUR_PROFILE}} --role-arn {{YOUR_ROLE_ARN}} --role-session-name {{CUSTOM_SESSION_NAME}}
--serial-number {{YOUR_SERIAL}} --duration-seconds 28800 --token-code {{YOUR_MFA_CODE}} | jq -r '.Credentials | "export AWS_ACCESS_KEY_ID=\(.AccessKeyId)\nexport AWS_SECRET_ACCESS_KEY=\(.SecretAccessKey)\nexport AWS_SESSION_TOKEN=\(.SessionToken) AWS_SECURITY_TOKEN=\(.SessionToken)\n"')

@nbs-jeanpierrefouche
Copy link
Author

Thank you Nelson. Unfortunately the above command is not really what we are trying to address. This issue pertains to the assume-role support provided by this repository, not the aws cli command itself. Many Thanks :)

@nbs-jeanpierrefouche nbs-jeanpierrefouche changed the title NOt working anymore on Mac OS Ventura Not working anymore on Mac OS Ventura May 24, 2023
@sixty4k
Copy link

sixty4k commented Aug 4, 2023

The fork here has been working for me: https://github.com/mexisme/assume-role

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

No branches or pull requests

3 participants