AWS cli documentation change
Summary
Updated CLI version from 2.27.51 to 2.27.54 and added examples for listing access entries
Security assessment
Provides visibility into EKS access entries which are security controls. Enhances audit capability documentation without addressing specific security flaws.
Diff
diff --git a/cli/latest/reference/eks/list-access-entries.md b/cli/latest/reference/eks/list-access-entries.md index 5e5703988..6f8e78ec6 100644 --- a//cli/latest/reference/eks/list-access-entries.md +++ b//cli/latest/reference/eks/list-access-entries.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 @@ -220,0 +222,32 @@ 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 list the access entries for an EKS cluster** + +The following `list-access-entries` returns the list of access entries associated with the EKS cluster `eks-customer`. + + + aws eks list-access-entries \ + --cluster-name eks-customer + + +Output: + + + { + "accessEntries": [ + "arn:aws:iam::111122223333:role/Admin", + "arn:aws:iam::111122223333:role/admin-test-ip", + "arn:aws:iam::111122223333:role/assume-worker-node-role", + "arn:aws:iam::111122223333:user/eks-admin-user" + ] + } + + +For more information, see [Grant IAM users access to Kubernetes with EKS access entries](https://docs.aws.amazon.com/eks/latest/userguide/access-entries.html) in the _Amazon EKS User Guide_. + @@ -247 +280 @@ nextToken -> (string) - * [AWS CLI 2.27.51 Command Reference](../../index.html) » + * [AWS CLI 2.27.54 Command Reference](../../index.html) »