Configuration as code
Keep your configuration in your own Git repository, review changes like code, and apply them from a pipeline.
The three commands
| Command | What it does |
|---|---|
velacent -config-export DIR | Writes every live entity to DIR/<kind>/<id>.json with sorted keys, plus a manifest. Secrets never leave: files hold references only. |
velacent -config-diff DIR | Shows what applying the files would change: what is created, updated (with the old and new values) or deleted, and whether the configuration validates. The exit status is 2 when the files differ from the live configuration (use it for drift checks) and 0 when they match. |
velacent -config-apply DIR -config-reason TEXT | Plans, prints the plan, asks you to type apply, then applies. -config-yes skips the question after a reviewed diff. |
Nothing is deleted unless you add -config-prune. -config-kinds route,mllp_sender limits a diff or apply to those kinds.
The same thing over the API
The command line uses the Admin API: GET /admin/v1/config exports, POST /admin/v1/config/plan previews, and POST /admin/v1/config/apply applies a reviewed plan. See the configuration operations in the API reference. A write carries the version you last read and answers 409 if someone changed the configuration first, so a pipeline can never overwrite a newer edit. Every apply carries a reason and is audited.
A typical pipeline
- A pull request changes files in the repository.
- CI runs
-config-diffagainst a test account and posts the result. - After review, the pipeline runs
-config-applyon the test account, then promotes to production in a reviewed step: hosts, ports and secret references are replaced from per-environment variables instead of being copied.
For a one-off copy of a configuration, a backup bundle is simpler.
Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.