AWS Cloud Builder 11 not use aws_session_token with MFA enabled?

325
0
01-25-2023 07:39 PM
Labels (1)
FraserHand
Occasional Contributor III

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
0 Replies