Apidog 支援透過 OIDC 驗證方法與 Azure Key Vault 整合。設定 Microsoft Entra ID#
若要設定您的 OIDC 應用程式,請依照以下步驟操作:1.
在瀏覽器中開啟您的 Microsoft Entra ID 管理入口網站。
2.
前往 App registrations,並選取 New registration。
3.
輸入應用程式名稱(例如「Vault Integration」),然後按一下 Register。
4.
在應用程式的 Overview 頁面上,複製 Application (client) ID,並貼到 Apidog 的 Client ID 欄位中。
6.
複製 OAuth 2.0 authorization endpoint (v2),並貼到 Apidog 的 Auth URL 欄位中。
7.
複製 OAuth 2.0 token endpoint (v2),並貼到 Apidog 的 Access Token URL 欄位中。
8.
前往應用程式的 Authentication 頁面,按一下 Add a platform,然後選取 Single-page application。
9.
從 Apidog 複製 Callback URL,並貼到 Redirect URIs 欄位中。
10.
返回 Microsoft Entra ID 管理入口網站的首頁,前往 Enterprise Applications,並選取您剛註冊的應用程式。
11.
在 Users and groups 頁面上,新增需要存取 Key Vault 的使用者或群組。
測試連線#
1.
在 Apidog 中輸入 Key Vault 名稱。
2.
按一下 Test Connection。將會出現 OAuth 2.0 登入視窗。
連結密鑰#
假設 Azure Key Vault 中有一個名為 foo 的密鑰: Modified at 2026-06-11 10:26:02