Repository navigation
Expand file tree
/
Copy pathkeyforge.config.example.json
More file actions
32 lines (32 loc) · 1.62 KB
/
Copy pathkeyforge.config.example.json
File metadata and controls
32 lines (32 loc) · 1.62 KB
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
{
"$comment": "Server startup policy example, not a console catalog import. Copy to the repository root as keyforge.config.json (or set LICENSE_CONFIG to its path). Everything here is optional; these are illustrative values, not the defaults.",
"branding": { "name": "Acme Licensing" },
"key": { "prefix": "ACME", "groupLength": 5, "groups": 4 },
"tokens": { "offlineGraceDays": 14 },
"signingKeys": {
"$comment": "Public halves of keys this service no longer signs with. Tokens carry a kid, so a rotated-away key must stay findable while tokens it signed are still in the field. The active key comes from LICENSE_SIGNING_KEY and is named by LICENSE_SIGNING_KID.",
"retired": []
},
"limits": {
"enabled": true,
"activate": { "max": 20, "timeWindow": "1 minute" },
"validate": { "max": 20, "timeWindow": "1 minute" },
"register": { "max": 30, "timeWindow": "1 minute" }
},
"licenses": {
"defaultPlan": "standard",
"defaultActivationLimit": 1,
"planPresets": {
"standard": { "entitlements": { "imports": 200000 } },
"pro": { "entitlements": { "imports": 1000000, "pro": true }, "activationLimit": 3 },
"trial": { "entitlements": { "imports": 500, "trial": true }, "durationDays": 14 },
"subscription-yearly": { "entitlements": { "tier": "full" }, "durationDays": 365 }
}
},
"registry": { "enabled": true, "collectUserInfo": true },
"features": { "audit": true, "backups": true },
"auth": {
"$comment": "core = operator + session management; full adds bans and impersonation; or list features: [operators, sessions, bans, impersonation]",
"admin": "core"
}
}