Skip to main content

pod_identities

Creates, updates, deletes, gets or lists a pod_identities resource.

Overview​

Namepod_identities
TypeResource
Idaws.eks_auth.pod_identities

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
assume_role_for_pod_identityexeccluster_name, region, tokenThe 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.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
cluster_namestringThe name of the cluster for the request.
regionstringAWS region (default: us-east-1)

Lifecycle Methods​

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.

EXEC aws.eks_auth.pod_identities.assume_role_for_pod_identity
@cluster_name='{{ cluster_name }}' --required,
@region='{{ region }}' --required
@@json=
'{
"token": "{{ token }}",
"eksNodeName": "{{ eksNodeName }}",
"instanceId": "{{ instanceId }}",
"zone": "{{ zone }}"
}'
;