1 Answer
- Newest
- Most votes
- Most comments
1
Hi, given what you describe, you should follow "Use Git credentials and HTTPS with CodeCommit (recommended)" in https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_ssh-keys.html
It creates another pair (userid, password) but I used it successfully myself in situation with constraints similar to yours.

Thank you so much for your answer. If MFARequired policy is enabled for the IAM user, will this approach work?
Hi, thank you so much for your suggestion. I have tried the approach you mentioned, but still facing the same problem. Maybe due to MFARequired policy enabled for the IAM user, this method is not working.