mc admin creds disable-access-key

Disables an access key.

Users can run this command to disable their access keys.

Syntax

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

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

user:
  Access key that needs to be disabled

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 disables the access key. This parameter is mandatory.
access-key The access key to disable. 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

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

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