If your env zero agent runs on an AWS EKS cluster, you can use any of these methods to assign an AWS IAM role to your deployments.Documentation Index
Fetch the complete documentation index at: https://docs.envzero.com/llms.txt
Use this file to discover all available pages before exploring further.
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.Using the Node Role
The Node Role is the IAM Role assigned to the EC2 instances that serve as nodes in your EKS cluster. You can use this role directly by assigning the appropriate permissions required for your env zero deployments. For more details, refer to the EKS User Guide.Next steps
- Authenticating the Agent On Azure AKS - Configure workload identity for AKS clusters.
- Custom/Optional Configuration - Set Helm values for credentials and service accounts.
- Self-Hosted Kubernetes Agent - Install and upgrade the agent on Kubernetes.