mc idp ldap policy entities

The mc idp ldap policy entities command displays a list of mappings for a user, group, and/or policy.

Syntax

Parameters

ALIAS

Required

The alias of the AIStor deployment for which to display the entity mappings.

For example:

mc idp ldap policy entities myminio

--group

Optional

Returns a list of users and policies associated with the specified group. Repeat the flag to return a list for multiple groups.

--policies

Optional

Returns a list of users and groups associated with the specified policy. Repeat the flag to return a list for multiple policies.

--user

Optional

Returns a list of groups to which the user belongs and the policies associated with each group. The output includes only groups assigned to policies.

Repeat the flag to return a list for multiple users.

Example

The following example lists the entities mapped to each of two policies, policy1 and policy2 and entities mapped to the projectb group on the myminio deployment:

mc idp ldap policy entities myminio                                                 \
                          policy1                                                 \
                          policy2                                                 \
                          --group='cn=projectb,ou=groups,ou=swengg,dc=min,dc=io'

Global Flags

This command supports any of the global flags.

Behavior

S3 Compatibility

The mc commandline tool is built for compatibility with the AWS S3 API and is tested with AIStor and AWS S3 for expected functionality and behavior.

AIStor provides no guarantees for other S3-compatible services, As their S3 API implementation is unknown and therefore unsupported.

While mc commands may work as documented, any such usage is at your own risk.