forked from TBD54566975/ssi-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdev.toml
66 lines (49 loc) · 1.33 KB
/
dev.toml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
title = "SSI Service Config"
svn = "0.0.1"
desc = "Default configuration to be used while running the service for testing as a single go process."
# http service configuration
[server]
env = "dev" # either 'dev', 'test', or 'prod'
api_host = "0.0.0.0:3000"
jager_enabled = false
# 5 seconds, time is in nanoseconds
read_timeout = 5000000000
write_timeout = 5000000000
shutdown_timeout = 5000000000
log_location = ""
# options: trace, debug, info, warn, error, fatal, panic
log_level = "trace"
enable_schema_caching = true
enable_allow_all_cors = true
# Storage Configuration
[services]
service_endpoint = "http://localhost:3000"
# example bolt config with filepath option
storage = "bolt"
[[services.storage_option]]
id = "boltdb-filepath-option"
option = "bolt.db"
# per-service configuration
[services.keystore]
name = "keystore"
password = "default-password"
[services.did]
name = "did"
methods = ["key", "web"]
local_resolution_methods = ["key", "web", "pkh", "peer"]
universal_resolver_url = "https://dev.uniresolver.io/"
universal_resolver_methods = ["ion"]
[services.schema]
name = "schema"
[services.credential]
name = "credential"
[services.issuance]
name = "issuance"
[services.manifest]
name = "manifest"
[services.presentation]
name = "presentation"
expiration_duration = "30m"
[services.webhook]
name = "webhook"
webhook_timeout = "10s"