1
0
mirror of https://github.com/minio/docs.git synced 2025-07-28 19:42:10 +03:00
Files
docs/source/reference/minio-mc-admin/mc-admin-policy.rst
Andrea Longo 4c735072f7 Move reference docs for mc admin idp commands to mc idp (#873)
All the `mc admin idp *` commands have been renamed `mc idp *`.
Deprecate everything under `mc admin idp` and create pages for their new
names in the MinIO Client section.

Affects the following commands and subcommands;
* `mc admin idp ldap`
* `mc admin idp openid`
*  `mc admin idp ldap policy`

The new pages maintain the existing content and page structure. New
pages for each subcommand are out of scope for this PR.

Partly addresses https://github.com/minio/docs/issues/859 and
https://github.com/minio/docs/issues/866

Staged:

http://192.241.195.202:9000/staging/DOCS-859-part-2-idp/linux/html/reference/minio-mc.html

http://192.241.195.202:9000/staging/DOCS-859-part-2-idp/linux/html/reference/minio-mc-admin.html

http://192.241.195.202:9000/staging/DOCS-859-part-2-idp/linux/html/reference/minio-mc-deprecated.html

Co-authored-by: Daryl White <53910321+djwfyi@users.noreply.github.com>
2023-06-08 11:58:22 -06:00

3.3 KiB

mc admin policy

minio

Table of Contents

mc admin policy

mc RELEASE.2023-03-20T17-17-53Z

The following commands are deprecated:

  • mc admin policy add use mc admin policy create instead
  • mc admin policy set use mc admin policy attach instead
  • mc admin policy unset use mc admin policy detach instead
  • mc admin policy update use ~mc admin policy attach or ~mc admin policy detach instead

The following command is added:

  • mc admin policy entities

Description

The mc admin policy commands manage policies for use with MinIO Policy-Based Access Control <minio-policy> (PBAC). MinIO PBAC uses IAM-compatible policy JSON documents to define rules for accessing resources on a MinIO server.

For complete documentation on MinIO PBAC, including policy document JSON structure and syntax, see minio-policy. To manage policies for deployments that use LDAP authentication, see mc idp ldap policy.

Subcommands

mc admin policy includes the following subcommands:

Subcommand Description
~mc admin policy attach
~mc admin policy create
~mc admin policy detach
~mc admin policy entities
~mc admin policy info
~mc admin policy ls
~mc admin policy rm

/reference/minio-mc-admin/mc-admin-policy-attach /reference/minio-mc-admin/mc-admin-policy-create /reference/minio-mc-admin/mc-admin-policy-detach /reference/minio-mc-admin/mc-admin-policy-entities /reference/minio-mc-admin/mc-admin-policy-info /reference/minio-mc-admin/mc-admin-policy-list /reference/minio-mc-admin/mc-admin-policy-remove