[AWS-EFS][IAM] AWS EFS CSI instructions say to use a service account w/ IAM role association, but is it possible with KIAM instead?

This page summarizes the projects mentioned and recommended in the original post on /r/kubernetes

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • amazon-eks-pod-identity-webhook

    Amazon EKS Pod Identity Webhook

  • The Amazon EKS Pod Identity Webhook on the cluster watches for pods that are associated with service accounts with this special annotation & injects Web Identity Token credentials into the pod as environment variables (technical details here).

  • aws-efs-csi-driver

    CSI Driver for Amazon EFS https://aws.amazon.com/efs/

  • So when the EFS controller pod initializes, it fetches for AWS credentials via the AWS SDK (in this case, the aws-efs-csi-driver is using aws-sdk-go). AWS SDKs implements a mechanism for obtaining credentials called the AWS credentials provider chain, which looks for credentials in this order:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • aws-sdk-go

    AWS SDK for the Go programming language.

  • So when the EFS controller pod initializes, it fetches for AWS credentials via the AWS SDK (in this case, the aws-efs-csi-driver is using aws-sdk-go). AWS SDKs implements a mechanism for obtaining credentials called the AWS credentials provider chain, which looks for credentials in this order:

  • kiam

    Discontinued Integrate AWS IAM with Kubernetes

  • How Kiam provides a pod with the AWS role credentials is by intercepting API calls to the metadata service (technical details here & here).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts