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] [--tenant-id ID] [--enable|--disable]
Required Parameters
| Specifies which identity policy to modify. |
Options
| Changes the name of the identity policy. |
| Replaces the policy content with a new policy content. For information about how to write identity policies, see Creating Identity Policies. |
| Identifies the tenant associated with this identity policy. |
| 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. |
| Disables the policy. |
Example
vcli: admin> identitypolicy modify --id 10 --name allow_all