mc admin user info
Syntax
The mc admin user info command returns detailed information of a MinIO user on the target MinIO deployment.
To manage external Identity Provider users, see OIDC or AD/LDAP.
The following command returns details of user myuser on the myminio MinIO deployment:
The command has the following syntax:
- Brackets
[]indicate optional parameters. - Parameters sharing a line are mutually dependent.
- Parameters separated using the pipe
|operator are mutually exclusive.
Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.
Parameters
ALIAS
mc-cmd
Required
The alias of a configured MinIO deployment to retrieve user information from.
USERNAME
mc-cmd
The username to retrieve information for.
Global Flags
This command supports any of the global flags.
Changed: RELEASE.2023-05-26T23-31-54Z
mc admin user info --json output includes policies inherited from a user’s group memberships in memberOf.
Examples
View User Details
Use mc admin user info to view detailed user information for a user on a MinIO deployment:
- Replace
ALIASwith thealiasof the MinIO deployment. - Replace
USERNAMEwith the username of the user to display information for.
For the MinIO internal IDentity Provider (IDP), the output resembles the following:
For a third-party identity service such as LDAP, the output resembles the following:
View Policies from Group Membership
Use mc admin user info with :option::–json <mc.–json> to view the policies inherited from a user’s group memberships:
- Replace
ALIASwith thealiasof the MinIO deployment. - Replace
USERNAMEwith the username of the user to display information for.
The memberOf property in the output contains a list of groups the user is a member of, with the policies attached to each group. The output resembles the following:
Behavior
S3 Compatibility
SILO is the supported server for PGSTY mcli; compatibility with upstream MinIO and other S3 services is best effort.