identitypolicy modify

Prev Next

This command modifies an identity policy and can be used to enable or disable an identity policy, such as an identity policy that was replicated from an async replication peer.

Usage
identitypolicy modify --id ID
                     [--name NAME]
                     [--policy POLICY]
                     [--enable|--disable]
Required Parameters

--id ID

Specifies which identity policy to modify.

Options

--name NAME

Changes the name of the identity policy.

--policy POLICY

Replaces the policy content with a new policy content. For information about how to write identity policies, see Identity Policy Format.

--enable

Enables a policy that was disabled or was replicated to the cluster from an async replication peer, in which case, it is disabled by default.  

--disable

Disables the policy.

Example
vcli: admin> identitypolicy modify --id 10 --name allow_all