cmd/dex: make connector name field mandatory in dex configuration.

This commit is contained in:
rithu john
2017-01-23 15:14:41 -08:00
parent 613d160ad9
commit 31e8009441
4 changed files with 11 additions and 0 deletions

View File

@@ -24,7 +24,9 @@ The following is an example config file that can be used by the LDAP connector t
```yaml
connectors:
- type: ldap
# Required field for connector id.
id: ldap
# Required field for connector name.
name: LDAP
config:
# Host and optional port of the LDAP server in the form "host:port".
@@ -189,6 +191,7 @@ The following configuration will allow the LDAP connector to search a FreeIPA di
connectors:
- type: ldap
id: ldap
name: LDAP
config:
# host and port of the LDAP server in form "host:port".
host: freeipa.example.com:636