Get-Policy Command

Use the Crypto CLI get-policy command to fetch a specific policy.

If you have only one policy, then using the list-policy command displays the same information.

Syntax

cryptocli get-policy [options]

Option

Description

-h or --help

Displays usage text.

-p or --policyid string

The ID or name of the policy to fetch. Strings must be enclosed in double quotes.

-v or –version int

Version of the Policy to fetch. If not specified, fetches the current version.