Validating the Resource Key Hash
The POST /v1/cckm/GoogleWorkspaceCSE/endpoints/{id}/digest
API takes a DEK wrapped with the wrap API, and returns the base64 encoded resource_key_hash.
Request Parameters
Parameter | Type | Description |
---|---|---|
authorization | string | A JWT issued by the Google service account for this request. |
reason | string | Additional information about the operation. |
wrapped_key | string | The base64 binary object returned by the wrap call. |
Example Request
{
authorization: <Authz-JWT>,
reason: "",
wrapped_key: " eyJ3cmFwcGVkX2tleSI6IkozSnZCTEdVOFlWeWlocGpsWXpyd..."
}
Example Response
{
resource_key_hash: "qClT153ghqBOLPpdMsc4S4n6okPrRaLPBYT0zRcn+go="
}
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
Refer to HTTP status codes for details.