GitLab CI: How to Manage AWS CLI Credentials for multiple AWS Accounts in a Single Pipeline

One of the most common scenarios is having different environments and security credentials for development, testing, and production. But what to do if you need to use multiple AWS accounts in the same pipeline? Can you use AWS profiles with GitLab CI?

Valentin Despa
DevOps with Valentine
7 min readSep 30, 2021

--

--

--

Valentin Despa
DevOps with Valentine

Software developer, educator & overlander • GitLab Hero • AWS Community Builder • Postman Supernova • Imprint: http://vdespa.com/imprint