Skip to main content

policy list

The policy list command Lists the names of the policies that are installed on the OpenBao server.

Examples

List the available policies:

$ bao policy list
default
root

Usage

The following flags are available in addition to the standard set of flags included on all commands.

Output options

  • -format (string: "table") - Print the output in the given format. Valid formats are "table", "json", or "yaml". This can also be specified via the BAO_FORMAT environment variable.