yapi 集成LDAP配置文件

2022-06-14 19:47:48 浏览数 (2)

代码语言:javascript复制
{
   "port": "3000",
   "adminAccount": "598941324@qq.com",
   "db": {
      "servername": "127.0.0.1",
      "DATABASE": "yapi",
      "port": "27017"
   },
   "mail": {
      "enable": false,
      "host": "smtp.163.com",
      "port": 465,
      "from": "***@163.com",
      "auth": {
         "user": "***@163.com",
         "pass": "*****"
      }
   },
   "ldapLogin": {
      "enable": true,
      "server": "ldap://172.16.16.14:389",
      "baseDn": "CN=root,DC=wenyang,DC=com",
      "bindPassword": "wenyang",
      "searchDn": "OU=manager,DC=wenyang,DC=com",
      "searchStandard": "uid",
      "usernameKey": "displayName"
   }
}


标题:yapi 集成LDAP配置文件

作者:cuijianzhe

地址:https://cloud.tencent.com/developer/article/2022894

0 人点赞