mc idp ldap policy detach
Description
The mc idp ldap policy detach command detaches one or more polices from an entity.
The following example detaches the policy userpolicy from the user bobfisher on the myminio deployment.
The command has the following syntax:
-
Replace
ALIASwith the alias of a MinIO deployment to configure for AD/LDAP integration. -
Replace
POLICYNAMEwith the policy to detach from the entity. You may list multiple policies to detach from the entity. -
Use must use one of either the
--useror--groupflag. You may only use the flag once in the command. You cannot use both flags in the same command. -
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 with the entity from which to detach a policy.
For example:
Example
The following example detaches two policies, policy1 and policy2, from the projectb group on the myminio deployment:
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.