SetPolicyDocument
gRPC · Identity service
UNARY── Authorization policy management ─────────────────────────────────────── Policy documents are JSON-encoded shrikedb-security PolicyDocument values. They are persisted in the identity registry and applied to the hot policy cache immediately after SetPolicyDocument succeeds.
/shrikedb.identity.v2.IdentityService/SetPolicyDocumentRequestSetPolicyDocumentRequest
ResponseSetPolicyDocumentResponse
Request fields
| Protocol field | Type | JSON field |
|---|---|---|
tenant_uid | UidProto | tenantUid |
policy_json | string | policyJson |
Response contract
Open SetPolicyDocumentResponse for every field, enum, nested message, and presence rule. Check the RPC status and any outcome fields in the response.
Connection and availability
The identity service requires a multi-tenant deployment with authentication enabled. Login and refresh accept their own credentials; administration requires tenant Admin or Grant permission. See authentication and wire encoding for metadata, deadlines, and retry behavior.