aws eks create-pod-identity-association
Creates an EKS Pod Identity association between a service account in an Amazon EKS cluster and an IAM role with EKS Pod Identity. AWS CLI reference
9 options Its page in the AWS CLI reference
Options
--client-request-tokenA unique, case-sensitive identifier that you provide to ensure the idempotency of the request.--cluster-nameThe name of the cluster to create the EKS Pod Identity association in.--disable-session-tagsDisable the automatic sessions tags that are appended by EKS Pod Identity.--namespaceThe name of the Kubernetes namespace inside the cluster to create the EKS Pod Identity association in.--policyAn optional IAM policy in JSON format (as an escaped string) that applies additional restrictions to this pod identity association beyond the IAM policies attached to the IAM role.--role-arnThe Amazon Resource Name (ARN) of the IAM role to associate with the service account.--service-accountThe name of the Kubernetes service account inside the cluster to associate the IAM credentials with.--tagsMetadata that assists with categorization and organization.--target-role-arnThe Amazon Resource Name (ARN) of the target IAM role to associate with the service account.