kes policy ls
kes identity ls
command has been deprecated as of KES release 2024-06-17T15-47-05Z
.
Use kes ls
instead.
Overview
Outputs a list of policies on the KES server.
The output resembles the following:
Date Created Policy
2023-03-07 17:17:05 my-app
Syntax
kes policy ls \
[--color <string>] \
[--insecure, -k] \
[--json] \
[<'pattern'>]
Parameters
--color
Optional
Specify when to use colored output.
Possible values: auto
, never
, always
auto
enables colors if an interactive terminal is detected and disables colors if the output goes to a pipe.
If not defined, KES uses the auto
method.
--insecure, -k
Optional
Directs the command to skip x.509 certificate validation during the TLS handshake with the KES server. This allows connections to KES servers using untrusted certificates (i.e. self-signed or issued by an unknown Certificate Authority).
MinIO strongly recommends against using this option in production environments.
--json
Optional
Output the results in JSON format.
pattern
Optional
A single-quote bounded string to use to find matching policies. Only the policies matching the specified string display.
Examples
List all policies:
kes policy ls
List some policies that follow a specified pattern:
kes policy ls 'my-policy*'