Skip to content

mc idp ldap accesskey enable

Description

The mc idp ldap accesskey enable enables the specified access key on the local server.

The following example enables the access key mykey from the minio deployment:

mc idp ldap accesskey enable minio/ mykey

The command has the following syntax:

mc [GLOBALFLAGS] idp ldap accesskey enable  \
                                 ALIAS      \
                                 KEY
  • Replace ALIAS with the alias of a MinIO deployment configured for AD/LDAP integration.

  • Replace KEY with the access key to enable.

  • 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 the MinIO deployment configured for AD/LDAP.

For example:

mc idp ldap accesskey enable minio mykey
KEY

mc-cmd

Required

The configured access key to enable.

Example

Enable the access key mykey from the minio deployment.

mc idp ldap accesskey enable minio/ mykey

Global Flags

This command supports any of the global flags.

Behavior

S3 Compatibility

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