mc admin policy ls
Syntax
Lists all policies on the target MinIO deployment.
The mc admin policy list command has equivalent functionality to mc admin policy ls.
EXAMPLE
The following command displays a list of the policies currently current on the alias play.
BASH
SYNTAX
The command has the following syntax:
BASH
- 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
The mc admin policy ls command accepts the following arguments:
TARGET
mc-cmd
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.
BASH
Output
The command returns output that resembles the following:
BASH