-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.sisco-sample.yaml
33 lines (33 loc) · 1.04 KB
/
.sisco-sample.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
debug: true
# ginReleaseMode: true
port: 9999
gRPCPort: 8888
useTLS: true
tlsCertFile: "./localhost.crt"
tlsKeyFile: "./localhost.key"
dbType: "postgres" # or "mysql"
dbHost: "localhost"
dbPort: 5432 # or 3306 for "mysql"
dbName: "<your-db-name>"
dbUser: "<your-db-user>"
dbPassword: "<your-db-password>"
dbSSLMode: "disable"
ldapURL: "ldap://localhost:3893"
ldapBaseDN: "DC=example,DC=com"
ldapBindDN: "CN=JohnDoe,OU=users,DC=example,DC=com"
ldapBindPassword: "<your-ldap-password>"
ldapUsersGroup: "Users"
ldapServicesGroup: "Services"
ldapAdminsGroup: "Admins"
ldapFilterUserAttribute: "uid"
ldapFilterGroupAttribute: "memberUid"
ldapFilterUser: "(&(objectClass=posixAccount)(uid={user}))"
ldapFilterGroup: "(&(objectClass=posixGroup)(memberUid={user}))"
# Active Directory
# ldapFilterUserAttribute: "sAMAccountName"
# ldapFilterGroupAttribute: "memberUid"
# ldapFilterUser: "(&(objectClass=user)({user_attribute}={user}))"
# ldapFilterGroup: "(&(objectClass=group)({group_attribute}={user}))"
tokenValidInSeconds: 1800 # seconds
heartbeatCheckInSeconds: 30