取得憑證

產品版本:10.11

最後修改日期:2024年7月31日

取得儲存於產品中的所有憑證清單。

終點

https://<Director_IP_address>:4443/c/router

租戶端點

對於多租戶產品的租戶而言,終點必須為:
https://<Director_IP_address>:4443/t/<tenant_UUID>/c/router

請求範例

請求欄位

領域
類型
值(們)
action 字串

CredentialManagement

method 字串

list

data Json

篩選參數。請參閱 filter 下表

type 字串

rpc

tid 整數

1

篩選

領域

價值

Description

start

整數

要回傳的憑證之起始 ID

count

整數

要回傳的憑證數量

sort

字串

用於排序的憑證參數

sortAsc

布林值

true 如果排序順序為升序

criteria

陣列

篩選條件。請參閱下方的行

type 字串 準則類型

name

字串

準則名稱。 USERNAME 意指使用者名稱

type

字串

準則的類型。 ILIKE 表示區分大小寫的 LIKE 運算子

value

字串

準則的數值

回應範例

回應欄位

領域
價值
Description
message 字串 若請求失敗,請顯示此訊息
where 字串 關於發生問題的方法的說明
cause 字串 故障原因
資料 陣列 憑證資訊

資料

領域
價值
Description

id

int 憑證識別碼
type 字串 憑證類型。可能的值: PASSWORD 或 PRIVATE_KEY
username 字串 使用者名稱
password 字串 密碼(經過混淆處理)
privateKey 字串 私鑰
privateKeyFileName 字串 私鑰檔案名稱
keyPassword 字串 私鑰密碼(已進行混淆處理)
description 字串 Description