mc admin user info
The mc admin user info command returns detailed information of a MinIO AIStor user on the target MinIO AIStor deployment.
To manage external Identity Provider users, see OIDC or AD/LDAP.
Syntax
The following command returns details of user myuser on the myaistor MinIO AIStor deployment:
mc admin user info myaistor myuserThe command has the following syntax:
mc [GLOBALFLAGS] admin user info \
ALIAS \
USERNAME- 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
Required
The alias of a configured MinIO AIStor deployment to retrieve user information from.
USERNAME
Required
The username to retrieve information for.
Global Flags
This command supports any of the global flags.
Examples
View user details
Use mc admin user info to view details for a user on a MinIO AIStor deployment:
mc admin user info ALIAS USERNAME- Replace
ALIASwith the alias of the MinIO AIStor deployment. - Replace
USERNAMEwith the username to view.
For the MinIO AIStor internal Identity Provider (IDP), the output resembles the following:
AccessKey: aistoruser
Status: enabled
PolicyName:
MemberOf: []
UpdatedAt: 2025-12-22T16:24:04Z
Authentication: builtin (aistoruser)For a third-party identity service such as LDAP, the output resembles the following:
AccessKey: uid=dillon,ou=people,ou=swengg,dc=min,dc=io
Status:
PolicyName: consoleAdmin
MemberOf: []
UpdatedAt: 2025-12-22T16:24:04Z
Authentication: ldap/localhost:1389 (uid=dillon,ou=people,ou=swengg,dc=min,dc=io)View policies from group membership
Use mc admin user info with --json to view policies inherited from group membership:
mc admin user info ALIAS USERNAME --json- Replace
ALIASwith the alias of the MinIO AIStor deployment. - Replace
USERNAMEwith the username to view.
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:
{
"status": "success",
"accessKey": "myuser",
"userStatus": "enabled",
"memberOf": [
{
"name": "testingGroup",
"policies": [
"testingGroupPolicy"
]
}
],
"authentication": "builtin (myuser)"
}Behavior
S3 compatibility
This command uses a MinIO AIStor administrative API and does not work against other S3-compatible services.