mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-09 14:06:30 +00:00
* Fixed#10211: Enable LDAP configuration to be configured via environment variable * Fixed#10211: Enable LDAP configuration to be configured via environment variable
65 lines
1.9 KiB
JSON
65 lines
1.9 KiB
JSON
{
|
|
"$id": "https://open-metadata.org/schema/configuration/ldapConfiguration.json",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "LdapConfiguration",
|
|
"description": "LDAP Configuration",
|
|
"type": "object",
|
|
"javaType": "org.openmetadata.schema.auth.LdapConfiguration",
|
|
"properties": {
|
|
"host": {
|
|
"description": "LDAP server address without scheme(Example :- localhost)",
|
|
"type": "string"
|
|
},
|
|
"port": {
|
|
"description": "Port of the server",
|
|
"type": "integer"
|
|
},
|
|
"maxPoolSize": {
|
|
"description": "No of connection to create the pool with",
|
|
"type": "integer",
|
|
"default": 3
|
|
},
|
|
"isFullDn": {
|
|
"description": "If enable need to give full dn to login",
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"dnAdminPrincipal": {
|
|
"description": "Distinguished Admin name with search capabilities",
|
|
"type": "string"
|
|
},
|
|
"dnAdminPassword": {
|
|
"description": "Password for LDAP Admin",
|
|
"type": "string"
|
|
},
|
|
"sslEnabled": {
|
|
"description": "LDAPS (secure LDAP) or LDAP",
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"userBaseDN": {
|
|
"description": "User base distinguished name",
|
|
"type": "string"
|
|
},
|
|
"mailAttributeName": {
|
|
"description": "Email attribute name",
|
|
"type": "string"
|
|
},
|
|
"truststoreFormat": {
|
|
"description": "Truststore format e.g. PKCS12, JKS.",
|
|
"type": "string"
|
|
},
|
|
"truststoreConfigType": {
|
|
"description": "Truststore Type e.g. TrustAll, HostName, JVMDefault, CustomTrustStore.",
|
|
"type": "string",
|
|
"enum": ["TrustAll", "JVMDefault", "HostName", "CustomTrustStore"]
|
|
},
|
|
"trustStoreConfig": {
|
|
"description": "Truststore Configuration",
|
|
"$ref": "ldapTrustStoreConfig/truststoreConfig.json"
|
|
}
|
|
},
|
|
"required": ["host", "port", "dnAdminPrincipal","dnAdminPassword", "userBaseDN", "mailAttributeName"],
|
|
"additionalProperties": false
|
|
}
|