AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2025-07-18 · Documentation low

File: cli/latest/reference/eks/delete-pod-identity-association.md

Summary

Added example for deleting EKS Pod Identity associations

Security assessment

The change documents removal of pod identity associations, which is important for security maintenance, but shows no evidence of patching a specific security issue. It demonstrates proper revocation of pod privileges.

Diff

diff --git a/cli/latest/reference/eks/delete-pod-identity-association.md b/cli/latest/reference/eks/delete-pod-identity-association.md
index ae4ac2960..f56c54109 100644
--- a//cli/latest/reference/eks/delete-pod-identity-association.md
+++ b//cli/latest/reference/eks/delete-pod-identity-association.md
@@ -15 +15 @@
-  * [AWS CLI 2.27.51 Command Reference](../../index.html) »
+  * [AWS CLI 2.27.54 Command Reference](../../index.html) »
@@ -35,0 +36 @@
+    * Examples
@@ -199,0 +201,41 @@ Disable automatically prompt for CLI input parameters.
+## Examples¶
+
+### Note
+
+To use the following examples, you must have the AWS CLI installed and configured. See the [Getting started guide](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html) in the _AWS CLI User Guide_ for more information.
+
+Unless otherwise stated, all examples have unix-like quotation rules. These examples will need to be adapted to your terminal’s quoting rules. See [Using quotation marks with strings](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-quoting-strings.html) in the _AWS CLI User Guide_ .
+
+**To delete the EKS Pod Identity association**
+
+The following `delete-pod-identity-association` example deletes the EKS Pod Identity association with association ID `a-9njjin9gfghecgocd` from the EKS cluster named `eks-customer`.
+    
+    
+    aws eks delete-pod-identity-association \
+        --cluster-name eks-customer \
+        --association-id a-9njjin9gfghecgocd
+    
+
+Output:
+    
+    
+    {
+        "association": {
+            "clusterName": "eks-customer",
+            "namespace": "default",
+            "serviceAccount": "default",
+            "roleArn": "arn:aws:iam::111122223333:role/s3-role",
+            "associationArn": "arn:aws:eks:us-west-2:111122223333:podidentityassociation/eks-customer/a-9njjin9gfghecgocd",
+            "associationId": "a-9njjin9gfghecgocd",
+            "tags": {
+                "Key2": "value2",
+                "Key1": "value1"
+            },
+            "createdAt": "2025-05-24T19:52:14.135000-05:00",
+            "modifiedAt": "2025-05-25T21:10:56.923000-05:00"
+        }
+    }
+    
+
+For more information, see [Learn how EKS Pod Identity grants pods access to AWS services](https://docs.aws.amazon.com/eks/latest/userguide/pod-identities.html) in the _Amazon EKS User Guide_.
+
@@ -292 +334 @@ association -> (structure)
-  * [AWS CLI 2.27.51 Command Reference](../../index.html) »
+  * [AWS CLI 2.27.54 Command Reference](../../index.html) »