Using IAM roles to allow the Pods in AWS EKS to read the AWS S3 bucket

Vinod Kumar Nair
Level Up Coding
Published in
7 min readAug 8, 2021

--

The AWS IAM (Identity & Access Management) service allows AWS services to interact with each other based on the policies given to its attached role(s).

We can also use the IAM role with a Kubernetes (k8s) native Service Account (SA) which will allow the Pods running in the Kubernetes cluster or AWS Elastic Kubernetes Service (EKS) to talk to AWS service(s).

In this blog, we will see how we can allow a Pod running in AWS EKS to list the objects in the AWS S3 bucket by using the IAM role…

--

--

Cloud Architect (AWS) | Loves Kubernetes | Blogger | SaaS | Open Source Contributor | Cyclist