1
0
mirror of https://github.com/minio/docs.git synced 2025-05-28 00:41:14 +03:00
docs/source/reference/minio-mc-admin/mc-admin-user-enable.rst
Andrea Longo 1c5454955b
Expand the mc admin user docs (#836)
Restructure the existing `mc admin user` page into separate pages for
each subcommand. Also add missing details and correct errors.

Staged:

http://192.241.195.202:9000/staging/DOCS-785/linux/html/reference/minio-mc-admin/mc-admin-user.html

Fixes https://github.com/minio/docs/issues/785
2023-04-28 14:03:11 -06:00

2.3 KiB

mc admin user enable

minio

Table of Contents

mc admin user enable

Syntax

The mc admin user enable command enables a MinIO user <minio-internal-idp> on the target MinIO deployment.

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

To manage external Identity Provider users, see OIDC <mc admin idp openid> or AD/LDAP <mc admin idp ldap>.

EXAMPLE

The following command enables user myuser on the myminio MinIO deployment:

mc admin user enable myminio myuser

SYNTAX

The command has the following syntax:

mc [GLOBALFLAGS] admin user enable    \
                            ALIAS     \
                        USERNAME

Parameters

ALIAS

The alias <mc alias> of the MinIO deployment with the user to enable.

USERNAME

The username of the user to enable.

Global Flags

Example

Enable a User

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

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

Behavior

S3 Compatibility