mc idp ldap policy detach
The mc idp ldap policy detach command detaches one or more polices from an entity.
Syntax
Parameters
ALIAS[:CONFIG_NAME]
Required
The alias of the AIStor deployment with the entity from which to detach a policy.
Optionally append :CONFIG_NAME to use a non-default LDAP configuration.
If not specified, the command uses the default LDAP configuration.
Examples
Detach policies from a group
The following example detaches two policies, policy1 and policy2, from the projectb group on the myaistor deployment:
mc idp ldap policy detach myaistor \
policy1 \
policy2 \
--group='cn=projectb,ou=groups,ou=swengg,dc=min,dc=io'
Detach a policy using a non-default LDAP configuration
The following example detaches a policy using the LDAP configuration named myldap instead of the default configuration.
mc idp ldap policy detach myaistor:myldap \
userpolicy \
--user='uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io'
Global flags
This command supports any of the global flags.
Behavior
S3 compatibility
The mc command-line tool is built for compatibility with the AWS S3 API and is tested with AIStor 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.