Associates an access policy and its scope to an access entry
Source:R/eks_operations.R
eks_associate_access_policy.RdAssociates an access policy and its scope to an access entry. For more information about associating access policies, see Associating and disassociating access policies to and from access entries in the Amazon EKS User Guide.
See https://www.paws-r-sdk.com/docs/eks_associate_access_policy/ for full documentation.
Arguments
- clusterName
[required] The name of your cluster.
- principalArn
[required] The Amazon Resource Name (ARN) of the IAM user or role for the
AccessEntrythat you're associating the access policy to.- policyArn
[required] The ARN of the
AccessPolicythat you're associating. For a list of ARNs, uselist_access_policies.- accessScope
[required] The scope for the
AccessPolicy. You can scope access policies to an entire cluster or to specific Kubernetes namespaces.