方法:status
检查密钥访问控制列表服务 (KACLS) 的状态以评估
有效且配置正确。
内部自检,例如检查 KMS 无障碍功能或记录系统健康状况;
其他方法
HTTP 请求
GET https://KACLS_URL/status
将 KACLS_URL
替换为密钥访问控制列表服务 (KACLS)
网址。
路径参数
无。
请求正文
无。
响应正文
响应正文包含结构如下的数据:
JSON 表示法 |
{
"name": string,
"vendor_id": string,
"version": string,
"server_type": string,
"operations_supported": string array
}
|
字段 |
name |
string (UTF-8)
可选的实例名称。
|
operations_supported |
string array
服务支持的操作的列表。操作的名称由其网址路径定义。
|
server_type |
string (UTF-8)
必须为 KACLS 。
|
vendor_id |
string (UTF-8)
KACLS 供应商名称。
|
version |
string (UTF-8)
软件版本。
|
示例
此示例提供了 status
的示例响应。
方法。
响应
{
"server_type": "KACLS",
"vendor_id": "Test",
"version": "demo",
"name": "K8 reference",
"operations_supported": [
"wrap", "unwrap", "privilegedunwrap",
"privatekeydecrypt", "privatekeysign", "privilegedprivatekeydecrypt"
]
}
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-22。
[null,null,["最后更新时间 (UTC):2024-08-22。"],[[["This endpoint (`GET /status`) checks the operational status and configuration of a Key Access Control List Service (KACLS)."],["It provides essential information about the KACLS instance, such as its name, vendor, version, server type, and supported operations."],["The response confirms whether the KACLS is active and details the functionalities it offers."],["Internal self-checks within the KACLS, including KMS accessibility and logging system health, might also be conducted as part of the status check."]]],["A `GET` request to the `/status` endpoint of a Key Access Control List Service (KACLS) URL checks its status. The response contains JSON data, including the KACLS's `server_type` (which must be \"KACLS\"), `vendor_id`, `version`, an optional `name`, and a `operations_supported` array. This method is also used for internal checks such as KMS accessibility and logging health. Example provided of how a successful response looks like.\n"]]