mc admin creds enable-access-key

Enables an access key.

Users can run this command to enable their access keys.

Syntax

CLI
mc admin creds enable-access-key - enable an access key

USAGE:
  mc admin creds enable-access-key TARGET access-key

user:
  Access key that needs to be enabled

FLAGS:
  --config-dir value, -C value  path to configuration folder (default: "/root/.mc")
  --quiet, -q                   disable progress bar display
  --no-color                    disable color theme
  --json                        enable JSON lines formatted output
  --debug                       enable debug output
  --insecure                    disable SSL certificate verification
  --help, -h                    show help

Parameters

Parameter Description
TARGET The alias of a configured HPE Ezmeral Object Store on which the command enables the access key. This parameter is mandatory.
access-key The access key to enable. This parameter is mandatory.
config-dir Path to the configuration directory (/root/.mc by default)
quiet Disables progress bar display
no-color Disables color in the output
json Enables JSON formatted output
debug Enables output for debugging
insecure Disables SSL verification
help Shows this help

Example

Enable the access key XyAbZpo123tuY in the Object Store deployment with alias salesobject.

CLI
/opt/mapr/bin/mc admin creds enable-access-key salesobject XyAbZpo123tuY