Documentation

mc admin user

Description

The mc admin user command and its subcommands manage MinIO users.

Clients must authenticate to the MinIO deployment with the access key and secret key associated to a user on the deployment. MinIO users constitute a key component in MinIO Identity and Access Management.

To manage users who authenticate using a 3rd party IDP, use the command for the appropriate provider:

Use mc idp commands on MinIO Deployments Only

mc idp ldap and mc idp openid and their subcommands are only supported against MinIO deployments.

Subcommands

mc admin user includes the following subcommands:

Subcommand

Description

add

The mc admin user add command adds a new MinIO user to the target MinIO deployment.

disable

The mc admin user disable command disables a MinIO user on the target MinIO deployment.

enable

The mc admin user enable command enables a MinIO user on the target MinIO deployment.

info

The mc admin user info command returns detailed information of a MinIO user on the target MinIO deployment.

ls

The mc admin user ls command lists all MinIO users on the target MinIO deployment.

rm

The mc admin user rm command removes a MinIO user on the target MinIO deployment.

sts info

The mc admin user sts info command retrieves information on the specified STS credential, such as the parent MinIO user who generated the credentials, associated policies, and expiration.

svcacct

The mc admin user svcacct command and its subcommands create and manage Access Keys on a MinIO deployment.

As of MinIO Client RELEASE.2024-10-08T09-37-26Z, these commands have been replaced by mc admin accesskey and mc idp ldap accesskey. This command and its subcommands will be deprecated in a future MinIO Client release.