-
Notifications
You must be signed in to change notification settings - Fork 1
/
example_config.json
46 lines (46 loc) · 1.48 KB
/
example_config.json
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
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"secret32": "sdSjtMh6C2oNgsiVcPx89RgcNYl8L6R9PhWU3iGIL+k=",
"staticAuth": "qlJIjT2asJD23Y7toZczJriPTXd0GAmFUYAjHl0PcnA=",
"enableRegistrationEndpoint": true,
"enableCSRCreationEndpoint": true,
"enableDeactivationEndpoint": true,
"dbDriver": "postgres",
"dbDSN": "postgres://<username>:<password>@<hostname>:5432/<database>",
"dbMaxConns": 20,
"devices": {
"b07c32c6-4525-43f8-ab94-9383bf585ef0": "ad3e073b-9ead-437c-9e09-853e9a508dca",
"e1aead08-1fcb-47b3-bf2c-d3343cb979da": "cefa0c34-8448-44f2-9330-27c66519a2d3",
"8a70ad8b-a564-4e58-9a3b-224ac0f0153f": "f728ddb3-d504-4925-b216-b7842a2f1a6b"
},
"env": "prod",
"TCP_addr": ":8080",
"TLS": true,
"TLSCertFile": "certs/cert.pem",
"TLSKeyFile": "certs/key.pem",
"CORS": true,
"CORS_origins": [
"https://foo.com",
"https://*.bar.com"
],
"CSR_country": "DE",
"CSR_organization": "ubirch GmbH",
"debug": true,
"logTextFormat": true,
"kdMaxTotalMemMiB": 10,
"kdParamMemMiB": 1,
"kdParamTime": 100,
"kdParamParallelism": 4,
"kdParamKeyLen": 32,
"kdParamSaltLen": 24,
"kdUpdateParams": true,
"identityServiceTimeoutMs": 10000,
"authServiceTimeoutMs": 2000,
"verifyServiceTimeoutMs": 600,
"verificationTimeoutMs": 2000,
"verifyFromKnownIdentitiesOnly": true,
"verifyNiomonResponse": true,
"niomonIdentity": {
"uuid": "10b2e1a4-56b3-4fff-9ada-cc8c20f93016",
"publicKey": "pJdYoJN0N3QTFMBVjZVQie1hhgumQVTy2kX9I7kXjSyoIl40EOa9MX24SBAABBV7xV2IFi1KWMnC1aLOIvOQjQ=="
}
}