Skip to content

mc admin accesskey disable

Syntax

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

The following command disables the specified access key:

mc admin accesskey disable myminio 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

mc-cmd

Required

The alias of the MinIO deployment.

SERVICEACCOUNT

mc-cmd

Required

The access key to disable.

Global Flags

This command supports any of the global flags.

Behavior

S3 Compatibility

SILO is the supported server for PGSTY mcli; compatibility with upstream MinIO and other S3 services is best effort.