Documentation

Documentation

mc admin policy list

Syntax

Lists all policies on the target MinIO deployment.

The following command displays a list of the policies currently current on the alias play.

mc admin policy list play

The command has the following syntax:

mc admin policy list TARGET
  • Brackets [] indicate optional parameters.

  • Parameters sharing a line are mutually dependent.

  • Parameters seperated 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

The mc admin policy list command accepts the following arguments:

TARGET

The alias of a configured MinIO deployment from which the command lists the available policies.

Global Flags

This command supports any of the global flags.

Examples

List the policies that exist on the deployment at alias myminio.

mc admin policy list myminio

Output

The command returns output that resembles the following:

readwrite
writeonly