mc admin user ls
Syntax
The mc admin user ls
command lists all MinIO users on the target MinIO deployment.
The mc admin user list
command has equivalent functionality to mc admin user ls
.
mc admin user ls
does not return the access key or secret key associated to a user.
Use mc admin user info
to retrieve detailed user information, including the user access key.
To manage external Identity Provider users, see OIDC
or AD/LDAP
.
The following command lists all users on the myminio
MinIO deployment:
mc admin user ls myminio
The 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 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 deployment:
mc admin user ls ALIAS
The output resembles the following:
enabled devadmin readwrite
enabled devtest readonly
enabled newuser
Behavior
S3 Compatibility
The mc commandline tool is built for compatibility with the AWS S3 API and is tested with MinIO and AWS S3 for expected functionality and behavior.
MinIO 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.