Use the PASM CLI update-policy command to update the properties of a policy.

Syntax

pasmcli update-policy [options]

Option

Description

-h or --help

Displays usage text.

-g, --ad-group stringArray

A string separated by '||' containing the DN and display name of AD groups to be added as principals.

-L or --ad-logon-name stringArray

The logon name of AD users to be added as principals. This option is repeatable.

-u, --ad-upn stringArray

The UPN of AD users to be added as principals. This option is repeatable.

-d, --description string

Short description for the policy.

-l, --local-user stringArray

Local user name of users to be added as principals. This option is repeatable.

-p or --policyid string

The ID of the policy to update.

-e or --resource stringArray

A comma-separated string containing the box_id and secret_ids in subsequent order to be added as resources. Use "*: after the box_id to include all secrets in the box.

-R or --revision int

The revision number of the policy.

-r or --role string

The role of the user.

-t or --tagkey stringArray

The tag key to associate with the policy. This option is repeatable.

-v or --tagvalue stringArray

The tag value to associate with the policy. This option is repeatable.