# mc admin accesskey enable

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

---

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

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

## Syntax {#syntax}

The [`mc admin accesskey enable`](#command-mc.admin.accesskey.enable) command enables an existing access key.

**EXAMPLE**

The following command enables the specified access key:

```shell
mc admin accesskey enable myminio myuserserviceaccount
```

**SYNTAX**

The command has the following syntax:

```shell
mc [GLOBALFLAGS] admin accesskey enable          \
                                 ALIAS           \
                                 SERVICEACCOUNT
```

- 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.admin.accesskey.enable.ALIAS}

*mc-cmd*

*Required*

The [`alias`](/reference/minio-mc/mc-alias/#command-mc.alias) of the MinIO deployment.

##### `SERVICEACCOUNT` {#mc.admin.accesskey.enable.SERVICEACCOUNT}

*mc-cmd*

*Required*

The access key to enable.

### 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}

SILO is the supported server for PGSTY mcli; compatibility with upstream MinIO and other S3 services is [best effort](/reference/minio-mc/#command-mc).
