mc admin accesskey rm

The mc admin accesskey rm command removes an access key associated to a user on the deployment.

The command requires the access key to exist.

Syntax

The following command removes the access key myuseraccesskey from the myaistor deployment:

mc admin accesskey rm myaistor/ myuseraccesskey

The command has the following syntax:

mc [GLOBALFLAGS] admin accesskey rm                \
                                 ALIAS             \
                                 ACCESSKEYTOREMOVE
  • 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 remove.

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.

On this page