mc admin creds delete-access-key

Delete the access key for a user.

The Object Store administrator runs this command to delete the access key for a user.

Syntax

CLI
mc admin creds delete-access-key TARGET access-key

user:
  Access key that needs to be deleted

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

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

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