mc admin user enable

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

Clients can only use enabled users to authenticate to the MinIO AIStor deployment. Users created using mc admin user add are enabled by default.

To manage external Identity Provider users, see OIDC or AD/LDAP.

Syntax

The following command enables user myuser on the myaistor MinIO AIStor deployment:

mc admin user enable myaistor myuser

The command has the following syntax:

mc [GLOBALFLAGS] admin user enable    \
                            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 the MinIO AIStor deployment with the user to enable.

USERNAME

Required

The username of the user to enable.

Global Flags

This command supports any of the global flags.

Example

Enable a user

Use mc admin user enable to enable a user on a MinIO AIStor deployment.

mc admin user enable ALIAS USERNAME
  • Replace ALIAS with the alias of the MinIO AIStor deployment.
  • Replace USERNAME with the username to enable.

Behavior

S3 compatibility

This command uses a MinIO AIStor administrative API and does not work against other S3-compatible services.

On this page