Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Using docker image from AWS ECR with MFA enabled for AWS account

Anusha Bathala June 30, 2020

Hello,

For my Bitbucket pipeline, I am using a docker image hosted in AWS ECR as the build environment. Is it possible to fetch the docker image from AWS ECR if the AWS account has Multi Factor Authentication enabled?

Regards,

Anusha

 

1 answer

0 votes
ktomk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2020

Yes, as long as the policies allow access via API credentials. For pipelines it is recommended practice to have credentials (AWS API key and secret) specific for the pipeline case so they are easier to manage (e.g. rotate them, switch teams etc.).

You might already be aware of this, so linking this for reference can't hurt:

Is this the information you're looking for?

Brian Sterling March 21, 2023

He specifically called out "MFA" or "multi-factor authentication" which means having a hardware device (or virtual device) with a temporary password, like you might have on your mobile device that generates a new 6 digit code every 30 seconds.

These articles don't mention anything about MFA.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events