mc idp ldap accesskey rm

The mc idp ldap accesskey rm deletes the specified access key from the specified MinIO AIStor deployment.

mc idp ldap accesskey rm is also known as mc idp ldap accesskey remove.

This command works against access keys created by an AD/LDAP user after authenticating to MinIO AIStor.

Create AD/LDAP service accounts with the mc idp ldap accesskey create command.

Authenticated users can manage their own long-term Access Keys using the Console UI. MinIO AIStor supports using AssumeRoleWithLDAPIdentity to generate temporary access keys using the Security Token Service.

Syntax

The following example deletes the access key mykey from the myaistor deployment:

mc idp ldap accesskey rm myaistor mykey

The command has the following syntax:

mc [GLOBALFLAGS] idp ldap accesskey rm              \
                                 ALIAS              \
                                 KEY
  • Replace ALIAS with the alias of a MinIO AIStor deployment configured for AD/LDAP integration.

  • Replace KEY with the access key to delete.

  • 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 configured for AD/LDAP.

For example:

mc idp ldap accesskey ls myaistor

KEY

Required

The configured access key to delete.

Example

Delete the access key mykey from the myaistor deployment.

mc idp ldap accesskey rm myaistor mykey

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