Config
  • 26 Jan 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Config

  • Dark
    Light
  • PDF

Article summary

You have the option of creating a configuration (aka - config) for your Tenant.

The config is a JSON object that can contain anything that you desire. All data stored within this object is encrypted prior to being stored in EchoStream in order to protect sensitive items such as database or API credentials.

If you choose to create a config for your Tenant, it will be passed to certain types of Nodes within your Tenant that can use it.

Tenant configs are the base of the user-defined configuration system in EchoStream. Keys in your Tenant config can be overridden by configs that exist in your Apps or Nodes.

Example:

{
    "database": {
        "credentials": {
            "username": "foobar",
            "password": "password1"
        },
        "address": "127.0.0.1",
        "port": 3576
}

What's Next