Credential Resolution OrderThe env zero deployment agent resolves credentials in the following priority order:
- Pod Identity
- IRSA (IAM Roles for Service Accounts)
- Node Role
Using EKS Pod Identity
EKS Pod Identity simplifies the management of IAM permissions for applications on EKS clusters by allowing administrators to associate IAM roles directly with Kubernetes service accounts, eliminating the need for OIDC identity providers and enabling role reuse across multiple clusters. For more details about EKS Pod identity and how to configure it, refer to the EKS User Guide.Using IAM Roles for Service Accounts (IRSA)
IAM Roles for Service Accounts (IRSA) in Amazon EKS allow Kubernetes pods to securely assume IAM roles, enabling fine-grained access to AWS services without managing AWS credentials within the pods. For more details about IRSA and how to configure it, refer to the EKS User Guide.Using a Custom Kubernetes Service AccountBy default, env zero uses the default service account within the namespace where the agent is installed.To specify a different service account, set the
deploymentJobServiceAccountName Helm value.For detailed steps on configuring a new service account, refer to this AWS Guide.