mc admin accesskey disable

The mc admin accesskey disable command disables an existing access key for a MinIO IDP user.

Syntax

The following command disables the specified access key:

mc admin accesskey disable myaistor myuserserviceaccount

The command has the following syntax:

mc [GLOBALFLAGS] admin accesskey disable         \
                                 ALIAS           \
                                 SERVICEACCOUNT
  • 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.

SERVICEACCOUNT

Required

The access key to disable.

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