mc admin policy ls

Lists all policies on the target AIStor deployment.

Syntax

Parameters

The mc admin policy ls command accepts the following arguments:

TARGET

Required

The alias of a configured AIStor deployment.

Global Flags

This command supports any of the global flags.

Examples

List all policies on the deployment at alias myminio.

mc admin policy ls myminio

Output

The command returns output that resembles the following:

readwrite
writeonly
All rights reserved 2024-Present, MinIO, Inc.