Our great sponsors
-
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.
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).
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:
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:
How Kiam provides a pod with the AWS role credentials is by intercepting API calls to the metadata service (technical details here & here).