-
Notifications
You must be signed in to change notification settings - Fork 23
/
config.yaml
66 lines (53 loc) · 2.2 KB
/
config.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
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
# API server listen address
# Defauls to: ":8080" which will listen on all avalable interfaces.
listen: :8080
# Private key path - used for JWT signing
# Defaults to: /etc/useradm/rsa/private.pem
# Overwrite with environment variable: USERADM_SERVER_PRIV_KEY_PATH
# server_priv_key_path: /etc/useradm/rsa/private.pem
# Private key filename pattern - used to support multiple keys and key rotation
# Each file in a directory where server_priv_key_path reside the service checks
# against the pattern. If the file matches, then it is loaded as a private key
# identified with an id which exists in the file name.
# Defaults to: "private\\.id\\.([0-9]*)\\.pem"
# Overwrite with environment variable: USERADM_SERVER_PRIV_KEY_FILENAME_PATTERN
# server_priv_key_filename_pattern: "private\\.id\\.([0-9]*)\\.pem"
# Fallback private key path - used for JWT verification
# Defaults to: none
# Overwrite with environment variable: USERADM_SERVER_FALLBACK_PRIV_KEY_PATH
# server_fallback_priv_key_path: /etc/useradm/rsa/private-fallback.pem
# JWT issuer ('iss' claim)
# Defaults to: mender.useradm
# jwt_issuer: mender.useradm
# JWT expiration in seconds ('exp' claim)
# Defaults to: "604800" (one week)
# jwt_exp_timeout: 604800
# Mongodb connection string
# Defaults to: mongo-useradm
# mongo: mongo-useradm
# Enable SSL for mongo connections
# Defaults to: false
# mongo_ssl: false
# SkipVerify controls whether a mongo client verifies the
# server's certificate chain and host name.
# If InsecureSkipVerify is true, accepts any certificate
# presented by the server and any host name in that certificate.
# Defaults to: false
# mongo_ssl_skipverify: false
# Mongodb username
# Overwrites username set in connection string.
# Defaults to: none
# mongo_username: user
# Mongodb password
# Overwrites password set in connection string.
# Defaults to: none
# mongo_password: secret
# Maximum number of active sessions (valid JWT tokens) per user
# Defaults to: 10
# limit_sessions_per_user: 10
# Maximum number of peresonal access tokens per user
# Defaults to: 10
# limit_tokens_per_user: 10
# Path to the file containing plan definitions
# Defaults to: "/etc/useradm-enterprise/plans.yaml"
# plan_definitions_path: "/etc/useradm-enterprise/plans.yaml"