Lists all policies on the target MinIO deployment.
The following command displays a list of the policies currently current on the alias
mc admin policy ls play
The command has the following syntax:
mc admin policy ls TARGET
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.
mc admin policy ls command accepts the following arguments:
aliasof a configured MinIO deployment from which the command lists the available policies.
This command supports any of the global flags.
List the policies that exist on the deployment at alias
mc admin policy ls myminio
The command returns output that resembles the following: