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] Extend Credentials processing for MTurk to support MFA #808

Open
dkaushik96 opened this issue Jun 29, 2022 · 2 comments
Open
Labels
help wanted Extra attention is needed

Comments

@dkaushik96
Copy link

My AWS account needs multi factor authentication and if I register my AWS IAM user through Mephisto to run MTurk tasks, then it does not recognize the permissions as the aws_session_code is missing.

AWS CLI allows me to get a session code:
aws sts get-session-token --serial-number arn:aws:iam:: --token-code <mfa_code>

and then export it to aws/credentials file but then there is a mismatch between that session code and Mephisto's requests. Can we add this feature?

@JackUrb
Copy link
Contributor

JackUrb commented Jun 30, 2022

Hi @dkaushik96 - this isn't something I have experience with. Do you have any visibility on what causes the "mismatch between that session code and Mephisto's requests." and if there's a clear way to incorporate an aws_session_code into a botocore-based session?

Would be happy to scope or add this functionality once I get a better idea what needs to be done.

@dkaushik96
Copy link
Author

Hey, sorry missed this. Here's a doc AWS provides: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_sample-code.html

@JackUrb JackUrb changed the title Can't use MTurk with MFA [Feature Request] Extend Credentials processing for MTurk to support MFA Jul 21, 2022
@JackUrb JackUrb added enhancement New feature or request help wanted Extra attention is needed labels Jul 21, 2022
@meta-paul meta-paul removed the enhancement New feature or request label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants