2

我要整合天青與盾(一ElasticSearch插件)Active Directory和試圖找出什麼樣的價值觀,我需要在Shiled配置此部分指定ElasticSearch盾集成

shield: 
 
    authc: 
 
    realms: 
 
     active_directory: 
 
     type: active_directory 
 
     order: 0 
 
     domain_name: ad.example.com 
 
     url: ldaps://ad.example.com:636 
 
     unmapped_groups_as_roles: true 
 
     ... 
 
https://www.elastic.co/guide/en/shield/current/active-directory.html

對於我的.NET應用程序中,我指定

<add key="ida:AADInstance" value="https://login.microsoftonline.com/{0}" /> 
 
<add key="ida:Tenant" value="[Enter the name of your tenant, e.g. contoso.onmicrosoft.com]" /> 
 
<add key="ida:ClientId" value="[Enter the Client Id of your application from the portal, e.g. 7de803e2-9k32-4e7a-8335-b77ae40297f0]" /> 
 
<add key="ida:RedirectUri" value="[Enter the Redirect URI of your application from the portal, e.g. http://TodoListClient]" />

並試圖找出如何與盾配置映射。

回答