AWS Security ChangesHomeSearch

AWS cli documentation change

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

File: cli/latest/reference/eks/update-access-entry.md

Summary

Added example showing how to update access entry Kubernetes group associations

Security assessment

Documents how to modify access entry permissions through group associations, which is part of security configuration management. The change improves documentation clarity but doesn't address a specific security vulnerability.

Diff

diff --git a/cli/latest/reference/eks/update-access-entry.md b/cli/latest/reference/eks/update-access-entry.md
index ee1cfe88a..597c15421 100644
--- a//cli/latest/reference/eks/update-access-entry.md
+++ b//cli/latest/reference/eks/update-access-entry.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
@@ -224,0 +226,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 update an access entry for an EKS cluster**
+
+The following `update-access-entry` updates an access entry for the EKS cluster by adding the Kubernetes group `tester`.
+    
+    
+    aws eks update-access-entry \
+        --cluster-name eks-customer \
+        --principal-arn arn:aws:iam::111122223333:role/Admin \
+        --kubernetes-groups tester
+    
+
+Output:
+    
+    
+    {
+        "accessEntry": {
+            "clusterName": "eks-customer",
+            "principalArn": "arn:aws:iam::111122223333:role/Admin",
+            "kubernetesGroups": [
+                "tester"
+            ],
+            "accessEntryArn": "arn:aws:eks:us-west-2:111122223333:access-entry/eks-customer/role/111122223333/Admin/d2cb8183-d6ec-b82a-d967-eca21902a4b4",
+            "createdAt": "2025-05-24T11:02:04.432000-05:00",
+            "modifiedAt": "2025-05-24T17:08:01.608000-05:00",
+            "tags": {},
+            "username": "arn:aws:sts::111122223333:assumed-role/Admin/{{SessionName}}",
+            "type": "STANDARD"
+        }
+    }
+    
+
+For more information, see [Update access entries](https://docs.aws.amazon.com/eks/latest/userguide/updating-access-entries.html) in the _Amazon EKS User Guide_.
+
@@ -287 +329 @@ accessEntry -> (structure)
-  * [AWS CLI 2.27.51 Command Reference](../../index.html) »
+  * [AWS CLI 2.27.54 Command Reference](../../index.html) »