Acces gitlab docker registry in AWS Fargate task with 2fa activated


I am trying to deploy a AWS Fargate task using dokcer image from gitlab registry.
I have 2fa activated, I updated properly the ci that is now able to connect with the registry but I cant login in AWS Fargate task.

To connect with the registry it only allow to create a secret with username and password Private registry authentication for tasks - Amazon Elastic Container Service

I cant add a query parameter.

Any help would be appreciated :slight_smile:

Use personal access tokens to perform the authentication, supplying your generated personal access token value as a regular password in password configs/fields/prompts.

1 Like

Many thanks!