4 ms·
IAM credentials for ECS tasks are implemented with a transparent proxy to the metadata API, and there are similar projects for Kubernetes. The one that's most
by tazjin 10y ago
IAM credentials for ECS tasks are implemented with a transparent proxy to the metadata API, and there are similar projects for Kubernetes.
The one that's most popular I believe is kube2iam: https://github.com/jtblin/kube2iam https://github.com/jtblin/kube2iam
Using IAM roles then boils down to setting an annotation such as `iam.amazonaws.com/role: my-db-access-role` on a pod (assuming the correct trust relationship has been configured).