方法:狀態
檢查金鑰存取控制清單服務 (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"
]
}
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-22 (世界標準時間)。
[null,null,["上次更新時間: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"]]