<p>I am trying to mount S3 bucket using s3fs-fuse to the Kubernetes pod. My S3 bucket is protected by IAM roles and i dont have Access Keys and Secret Keys to access S3 bucket. I know how to access a S3bucket from the Kubernetes pod using Access &amp; Secrets Keys, but how do we access S3 bucket using IAM roles ?</p>
<p>Does anyone has suggestion on doing this ?</p>

<p>You use the IRSA system, attaching an IAM role to a Kubernetes service account and then attaching that K8s SA to your pod. See <a href="https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html</a> for a starting point.</p>
