Skip to content

/AWS1/CL_EKA=>ASSUMEROLEFORPODIDENTITY()

About AssumeRoleForPodIdentity

The Amazon EKS Auth API and the AssumeRoleForPodIdentity action are only used by the EKS Pod Identity Agent.

We recommend that applications use the Amazon Web Services SDKs to connect to Amazon Web Services services; if credentials from an EKS Pod Identity association are available in the pod, the latest versions of the SDKs use them automatically.

Method Signature

IMPORTING

Required arguments:

IV_CLUSTERNAME TYPE /AWS1/EKACLUSTERNAME /AWS1/EKACLUSTERNAME

The name of the cluster for the request.

IV_TOKEN TYPE /AWS1/EKAJWTTOKEN /AWS1/EKAJWTTOKEN

The token of the Kubernetes service account for the pod.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EKAASSUMEROLEFORPOD01 /AWS1/CL_EKAASSUMEROLEFORPOD01