mc admin accesskey enable
The mc admin accesskey enable command enables an existing access key.
The command requires the access key to exist and be currently disabled.
Syntax
The following command enables the access key myuseraccesskey on the myaistor deployment:
mc admin accesskey enable myaistor/ myuseraccesskeyThe command has the following syntax:
mc [GLOBALFLAGS] admin accesskey enable ALIAS ACCESSKEY- 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
Required
The alias of the MinIO AIStor deployment.
ACCESSKEY
Required
The access key to enable.
Global Flags
This command supports any of the global flags.
Behavior
S3 compatibility
This command uses a MinIO AIStor administrative API and does not work against other S3-compatible services.