1
0
mirror of https://github.com/minio/docs.git synced 2025-09-02 00:02:14 +03:00
Files
docs/source/reference/minio-mc-admin/mc-admin-policy-remove.rst
Daryl White 840417a6f7 Doc updates for mc RELEASE.2023-03-20T17-17-53Z (#799)
- Adds note that `mc support proxy set|remove` no longer require
registration
- Adds info about stale ARNs for `mc replicate status` command
- Additional information for --dry-run flag in `mc rm`
- Thoroughly updates and restructures `mc admin policy` commands
- Adds new `mc batch cancel` command
- Updates deprecated commands for newly deprecated mc admin policy
functions
- Fixes toctree on mc admin page to allow for mc admin policy subcommand
nesting

Closes #766

Other fixes not part of the release:
- Updates `--fake` flag on `mc rm` to `--dry-run`
- Updates `--fake` flag on `mc mirror` to `--dry-run`
2023-04-05 10:50:40 -05:00

1.5 KiB

mc admin policy remove

minio

Table of Contents

mc admin policy remove

Syntax

Removes an IAM policy from the target MinIO deployment.

EXAMPLE

The following command removes the policy names writeonly from the myminio MinIO deployment:

mc admin policy remove myminio writeonly

SYNTAX

The command has the following syntax:

mc admin policy remove TARGET POLICYNAME 

Parameters

The mc admin policy create command accepts the following arguments:

TARGET

The alias <mc alias> of a configured MinIO deployment from which to remove the policy.

POLICYNAME

The name of the policy to remove.

Global Flags

Examples

Remove a policy called listbuckets.

mc admin policy remove myminio listbuckets