mirror of
https://github.com/minio/docs.git
synced 2025-09-13 04:26:43 +03:00
Deprecates a no longer used operator environment variable. Closes #1351 Adds `mc admin accesskey` and subcommands. Updates `mc admin user svcacct` and subcommands with reference to new commands. Closes #1350
2.0 KiB
2.0 KiB
mc admin user svcacct enable
minio
Table of Contents
mc admin user svcacct enable
Important
This command has been replaced and will be deprecated in a future MinIO Client release.
As of MinIO Client RELEASE.2024-10-08T09-37-26Z, use the mc admin accesskey enable
command to enable an access key for a built-in MinIO IDP user.
To enable access keys for AD/LDAP users, use the mc idp ldap accesskey enable
command.
Syntax
The mc admin user svcacct enable
command enables an
existing access key.
EXAMPLE
The following command enables the specified access key:
mc admin user svcacct enable myminio myuserserviceaccount
SYNTAX
The command has the following syntax:
mc [GLOBALFLAGS] admin user svcacct enable \
ALIAS \
SERVICEACCOUNT
Parameters
ALIAS
The alias <mc alias>
of the MinIO deployment.
SERVICEACCOUNT
The service account access key to enable.