JWT, подтверждающий, что пользователю разрешено развернуть ключ для resource_name . См. токены авторизации .
reason
string (UTF-8)
Сквозная строка JSON, предоставляющая дополнительный контекст операции. Предоставленный JSON должен быть очищен перед отображением. Максимальный размер: 1 КБ.
wrapped_key
string
Бинарный объект base64, возвращаемый функцией wrap .
Тело ответа
В случае успеха этот метод возвращает хэш ключа ресурса в кодировке Base64.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-01-08 UTC."],[[["This API call takes a wrapped Data Encryption Key (DEK) and returns a base64 encoded resource key hash."],["The request body requires an authorization token, a reason for the operation, and the wrapped key."],["A successful response provides the resource key hash, while failures return a structured error reply."],["The `digest` endpoint is used for this operation within the Key Access Control List Service (KACLS)."],["See the provided links for more details on authorization tokens, resource key hash, wrap API, rewrap API and structured errors."]]],["This call digests a wrapped Data Encryption Key (DEK) using a POST request to the KACLS URL's `/digest` endpoint. The request body includes a `wrapped_key`, an `authorization` JWT, and a `reason` string. Upon success, the response returns a JSON object containing the base64 encoded `resource_key_hash`. Failure results in a structured error reply. The `resource_key_hash` can be later used in resources.\n"]]