Environment variables
All configuration values can also be set via environment variables. Since most shells only use uppercase letters, digits and underscores for environment keys, and the names must not start with digits, we go the following way:
- The key starts with "NY_".
- Dots ('.') become 2 underscores: "__".
- Preference path delimiter ('/') become 3 underscores: "___".
Example
NY_KERNEL__CONFIGURATION___NODE__DESCRIPTION=MyNode
becomes
kernel.configuration/node.description=MyNode