mc admin policy entities
Lists the entities associated with a policy, user, or group on a target AIStor deployment.
This command only returns minio-managed users and groups.
To list entities associated with an Active Directory or LDAP (AD/LDAP) configuration, use mc idp ldap policy entities
.
For example, you can list all of the users and groups attached to a policy or list all of the policies attached to a specific user or group.
Syntax
Parameters
The mc admin policy entities
command accepts the following arguments:
TARGET
Required
The alias
of a configured AIStor deployment.
POLICYNAME
Required
The name of the policy for which to list associated entities.
Global Flags
This command supports any of the global flags.
Examples
List the entities associated with the policy readonly
on the deployment at alias myminio
.
mc admin policy entities myminio readonly