Deploy JSON Configs with Reis (YAML Mode)
Deploy JSON configuration files to Bahriya via Reis YAML manifests: declare a json_config kind with your content and apply it with the reis apply command.
Updated 18 Sept 20261 min read
Use the Reis CLI to manage JSON configuration files via YAML manifests.
Example manifest
Create a file called json-config.yml:
kind: json_config
name: App Settings
handle: app-settings
content: |
{
"database": {
"host": "db.example.com",
"port": 5432
},
"features": {
"dark_mode": true
}
}Apply the manifest
reis apply -f json-config.yml --org <organisation-id>Required fields
| Field | Type | Description |
|---|---|---|
kind | string | Must be json_config |
name | string | Human-readable display name |
handle | string | DNS-1123-compliant identifier |
content | string | Valid JSON content |
Notes
- The
handleis immutable after creation. - Content is validated as syntactically correct JSON.
- To update content, change the
contentfield and re-apply. This creates a new version (rotation).