Connect GitLab to AWS using OpenID Connect

Renjith Ravindranathan
Level Up Coding
Published in
2 min readNov 17, 2022

--

Image Credit- GitLab

In this short article, we will explore the possibility of connecting AWS services from GitLab CI using OpenID Connector. Traditionally, the method of connecting AWS service from CLI is by using IAM user Access ID and Secret Key, which requires proper key rotation in place which adds up to the maintenance work. From a security standpoint, hardcoding credentials is not a well-embraced approach and it should be avoided…

--

--

A DevOps engineer by profession, Dad, Traveler & sometimes, like to tweak around stuff inside memory constrained devices. Currently living in the Netherlands.