AWS cli documentation change
Summary
Added example for deleting EKS access entries
Security assessment
The change adds documentation about removing cluster access entries, which is part of security hygiene, but doesn't indicate any specific security vulnerability being addressed. It demonstrates proper cleanup of access controls.
Diff
diff --git a/cli/latest/reference/eks/delete-access-entry.md b/cli/latest/reference/eks/delete-access-entry.md index 55194df6c..1786d2866 100644 --- a//cli/latest/reference/eks/delete-access-entry.md +++ b//cli/latest/reference/eks/delete-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 @@ -199,0 +201,22 @@ 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 an access entry associated with the cluster** + +The following `delete-access-entry` deletes an access entry associated with the EKS cluster named `eks-customer`. + + + aws eks delete-access-entry \ + --cluster-name eks-customer \ + --principal-arn arn:aws:iam::111122223333:role/Admin + + +This command produces no output. + +For more information, see [Delete access entries](https://docs.aws.amazon.com/eks/latest/userguide/deleting-access-entries.html) in the _Amazon EKS User Guide_. + @@ -214 +237 @@ None - * [AWS CLI 2.27.51 Command Reference](../../index.html) » + * [AWS CLI 2.27.54 Command Reference](../../index.html) »