Create a policy.
The CreatePolicyRequest message is used to create a new policy.
The description of the new policy.
The display name of the new policy.
Step sequences for this policy. The map must include a baseline entry keyed by the lowercased policy type (e.g., "grant"). Additional entries with opaque keys can be added for conditional routing via the rules array.
The type of policy to create (grant, revoke, or certify).
Ordered actions to execute after the policy completes processing.
This field is no longer used. Configure delegate reassignment in the policy step instead.
Conditional routing rules. See the Policy message for details on evaluation order.
The CreatePolicyResponse message contains the created policy object.
A policy defines a workflow (sequence of steps) that runs when processing access requests, reviews, or revocations. Policies support conditional routing: different conditions can trigger different step sequences, with a baseline fallback.