# IdentityType

Enum representing the different identity types that can be used for a Kubernetes service account.

- Source: [`aws-eks-v2/lib/service-account.ts`](https://github.com/aws/aws-cdk/blob/v2.276.0/packages/aws-cdk-lib/aws-eks-v2/lib/service-account.ts#L17)
- Type last changed: v2.240.0 · 23 Feb 2026

## Members

| Member | Description |
| --- | --- |
| `IRSA` | Use the IAM Roles for Service Accounts (IRSA) identity type. |
| `POD_IDENTITY` | Use the EKS Pod Identities identity type. |

## Referenced by

- [`ServiceAccountOptions`](/v2/docs/aws-cdk-lib.aws_eks_v2.ServiceAccountOptions).identityType
