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 mykeyThe command has the following syntax:
mc [GLOBALFLAGS] idp ldap accesskey rm \
ALIAS \
KEY-
Replace
ALIASwith the alias of a MinIO AIStor deployment configured for AD/LDAP integration. -
Replace
KEYwith 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 myaistorKEY
Required
The configured access key to delete.
Example
Delete the access key mykey from the myaistor deployment.
mc idp ldap accesskey rm myaistor mykeyGlobal 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.