mc idp openid accesskey rm
The mc idp openid accesskey rm deletes the specified access key from the specified MinIO AIStor deployment.
mc idp openid accesskey rm is also known as mc idp openid accesskey remove.
This command works against access keys created by an OIDC user after authenticating to MinIO AIStor.
Authenticated users can manage their own long-term Access Keys using the Console UI. MinIO AIStor supports using AssumeRoleWithWebIdentity to generate temporary access keys using the Security Token Service.
Example and syntax
The following example deletes the access key mykey from the myaistor deployment:
mc idp openid accesskey rm myaistor mykeyThe command has the following syntax:
mc [GLOBALFLAGS] idp openid accesskey rm \
ALIAS \
KEY-
Replace
ALIASwith the alias of a MinIO AIStor deployment configured for OIDC 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 OIDC.
For example:
mc idp openid accesskey rm myaistorKEY
Required
The configured access key to delete.
Example
Delete the access key mykey from the myaistor deployment.
mc idp openid 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.