Skip to content

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

mc-cmd

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
  • Replace ALIAS with the alias of the MinIO deployment.

The output resembles the following:

enabled    devadmin              readwrite
enabled    devtest               readonly
enabled    newuser

Behavior

S3 Compatibility

SILO is the supported server for PGSTY mcli; compatibility with upstream MinIO and other S3 services is best effort.