mc admin user ls
The mc admin user ls command lists all MinIO AIStor users on the target MinIO AIStor deployment.
The mc admin user list command has equivalent functionality to mc admin user ls.
mc admin user ls returns the status, access key, and policy of each user. It does not return the secret key. Use mc admin user info to retrieve detailed user information.
To manage external Identity Provider users, see OIDC or AD/LDAP.
Syntax
The following command lists all users on the myaistor MinIO AIStor deployment:
mc admin user ls myaistorThe command has the following syntax:
mc [GLOBALFLAGS] admin user list \
ALIAS- 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 from which the command lists users.
Global Flags
This command supports any of the global flags.
Example
List available users
Use mc admin user ls to list all users on a MinIO AIStor deployment:
mc admin user ls ALIASThe output resembles the following:
enabled devadmin readwrite
enabled devtest readonly
enabled newuserBehavior
S3 compatibility
This command uses a MinIO AIStor administrative API and does not work against other S3-compatible services.