Select to view content in your preferred language

AWS Cloud Builder 11 not use aws_session_token with MFA enabled?

471
1
01-25-2023 07:39 PM
Labels (1)
FraserHand
Frequent Contributor

Hi There,

I'm trying to use the AWS Cloud Builder 11 with an account with mfa. Using MFA you need to generate a session token described here

https://aws.amazon.com/premiumsupport/knowledge-center/authenticate-mfa-cli/

I've added to my credentials / profile but CB doesn't log in - it doesn't look like it's passing the session token to AWS.

FraserHand_0-1674704188460.png

 

It does work via aws cli

FraserHand_1-1674704214487.png

Note the credentials file looks like

[eagletemp]
aws_access_key_id = xxxxxxxx
aws_secret_access_key = xxxxxxxxx
aws_session_token = xxxxxxxxxxxx

 

Anyone hit this?

Thanks

Fraser

 

Tags (2)
0 Kudos
1 Reply
ChaseYoung323209
Emerging Contributor

Hi Fraser-I am running into this same thing. Did you ever find a solution?

0 Kudos