mc idp ldap accesskey rm
Description
The mc idp ldap accesskey rm
deletes the specified access key from the local server.
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.
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 MinIO Console. MinIO supports using AssumeRoleWithLDAPIdentity to generate temporary access keys using the Security Token Service.
The following example deletes the access key
mykey
from theminio
deployment:
mc idp ldap accesskey rm minio/ mykey
The command has the following syntax:
mc [GLOBALFLAGS] idp ldap accesskey rm \
ALIAS \
KEY
Replace
ALIAS
with the alias of a MinIO 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 deployment configured for AD/LDAP.
For example:
mc idp ldap accesskey ls minio
Example
Delete the access key mykey
from the minio
deployment.
mc idp ldap accesskey rm minio/ mykey
Global Flags
This command supports any of the global flags.
Behavior
S3 Compatibility
The mc commandline tool is built for compatibility with the AWS S3 API and is tested with MinIO and AWS S3 for expected functionality and behavior.
MinIO provides no guarantees for other S3-compatible services, as their S3 API implementation is unknown and therefore unsupported. While mc commands may work as documented, any such usage is at your own risk.