Path: redb/redb.Templates/templates/route-xml/redb-route-as4/config/context.sample.json Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Templates/templates/route-xml/redb-route-as4/config/context.sample.json ---- { "//": [ "Deployment sample: copy it as context.json next to the package on the host. Never put real secrets here.", "The merged configuration, later layers win:", " 1. host appsettings, Contexts default section", " 2. host appsettings, this context's section", " 3. this file: Contexts.default, then Contexts.modulectx", " 4. in-package config/routemodule.config.json: ContextName and AutoStart only", " 5. Override: environment variables (secrets live here)", "Every {{key}} without a {{key:default}} in the XML must get a value from one of these layers:", "the built package lists them in manifest.json under RequiredConfigKeys, and the module stops at init when one is missing.", "as4.keyFile, as4.keyPassword and as4.partnerCertificateFile are such keys; the password goes through the environment." ], "Contexts": { "default": {}, "modulectx": { "as4.keyFile": "/app/keys/module.p12", "as4.partnerCertificateFile": "/app/keys/holodeck.crt", "as4.ourPartyId": "urn:redb:example:module", "as4.hostName": "module.example", "as4.partnerPartyId": "urn:redb:example:holodeck", "as4.partnerAddress": "http://holodeck:8080/holodeckb2b/as4", "as4.agreement": "urn:redb:example:agreement", "as4.service": "urn:redb:example:as4", "as4.action": "StoreMessage", "as4.port": "4090", "as4.sendPeriod": "60000", "as4.creditNotePeriod": "90000" } } }