add cert and key config options

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2020-02-28 09:57:42 +01:00
parent e357c3a931
commit d06a0de75f
3 changed files with 24 additions and 1 deletions
+8 -1
View File
@@ -37,6 +37,13 @@ type Ldap struct {
Enabled bool
}
// Ldaps defined the available LDAPS configuration.
type Ldaps struct {
Ldap
Cert string
Key string
}
// Backend defined the available backend configuration.
type Backend struct {
Datastore string
@@ -57,7 +64,7 @@ type Config struct {
HTTP HTTP
Tracing Tracing
Ldap Ldap
Ldaps Ldap
Ldaps Ldaps
Backend Backend
}