# mc idp ldap accesskey enable

LLMS index: [llms.txt](/llms.txt)

---

<a id="mc-idp-ldap-accesskey-enable"></a>
<a id="minio-mc-idp-ldap-accesskey-enable"></a>

<a id="command-mc.idp.ldap.accesskey.enable"></a>

## Description {#description}

The [`mc idp ldap accesskey enable`](#command-mc.idp.ldap.accesskey.enable) enables the specified [access key](/administration/identity-access-management/minio-user-management/#minio-id-access-keys) on the local server.

**EXAMPLE**

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

```shell
mc idp ldap accesskey enable minio/ mykey
```

**SYNTAX**

The command has the following syntax:

```shell
mc [GLOBALFLAGS] idp ldap accesskey enable  \
                                 ALIAS      \
                                 KEY
```

- Replace `ALIAS` with the [alias](/reference/minio-mc/mc-alias-set/#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 {#parameters}

##### `ALIAS` {#mc.idp.ldap.accesskey.enable.ALIAS}

*mc-cmd*

*Required*

The [alias](/reference/minio-mc/mc-alias-set/#alias) of the MinIO deployment configured for AD/LDAP.

For example:

```text
mc idp ldap accesskey enable minio mykey
```

##### `KEY` {#mc.idp.ldap.accesskey.enable.KEY}

*mc-cmd*

*Required*

The configured access key to enable.

### Example {#example}

Enable the access key `mykey` from the `minio` deployment.

```shell
mc idp ldap accesskey enable minio/ mykey
```

### Global Flags {#global-flags}

This command supports any of the [global flags](/reference/minio-mc/#minio-mc-global-options).

## Behavior {#behavior}

### S3 Compatibility {#s3-compatibility}

The **`mc`** commandline tool is built for compatibility with the AWS S3 API and is tested with MinIO and AWS S3 for expected functionality and behavior.

MinIO provides no guarantees for other S3-compatible services, as their S3 API implementation is unknown and therefore unsupported. While **`mc`** commands *may* work as documented, any such usage is at your own risk.
