Usage
aws_policy_list_entities(name, ...)
Arguments
- name
(character) a policy name. required. within the function
we lookup the policy arn which is what's passed to the AWS API
- ...
additional named arguments passed on to internal paws method
(see link below to its docs)
Value
tibble with columns:
type: one of Users, Roles, Groups
name: the user, role or group name
id: the id for the user, role or group name
Zero row tibble if there are no entities
See also
Other policies:
as_policy_arn(),
aws_policies(),
aws_policy(),
aws_policy_attach(),
aws_policy_create(),
aws_policy_delete(),
aws_policy_delete_version(),
aws_policy_detach(),
aws_policy_exists(),
aws_policy_list_versions(),
aws_policy_update()
Examples
if (FALSE) { # interactive() && aws_has_creds()
aws_policy_list_entities("AdministratorAccess")
aws_policy_list_entities("AmazonRedshiftReadOnlyAccess")
}