mirror of
https://github.com/minio/docs.git
synced 2025-07-28 19:42:10 +03:00
Closes #807 Closes #846 --------- Co-authored-by: Daryl White <53910321+djwfyi@users.noreply.github.com>
1.6 KiB
1.6 KiB
mc admin policy ls
minio
Table of Contents
mc admin policy ls
mc admin policy list
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
.
mc admin policy ls play
SYNTAX
The command has the following syntax:
mc admin policy ls TARGET
Parameters
The mc admin policy ls
command accepts the following
arguments:
TARGET
The alias <mc alias>
of a configured MinIO
deployment from which the command lists the available policies.
Global Flags
Examples
List the policies that exist on the deployment at alias
myminio
.
mc admin policy ls myminio
Output
The command returns output that resembles the following:
readwrite
writeonly