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

FieldTypeDescription
kindstringMust be json_config
namestringHuman-readable display name
handlestringDNS-1123-compliant identifier
contentstringValid JSON content

Notes

  • The handle is immutable after creation.
  • Content is validated as syntactically correct JSON.
  • To update content, change the content field and re-apply. This creates a new version (rotation).

See also