Question:
When creating a sensor with logging, can an environment variable be used for the database password?
Answer:
It is possible to use an environment variable for the password with a few caveats:
- The environment variable will be hidden and not shown (just like a password).
- Test connection or create tables actions require a real value, not an environment variable.
The following is an example:
Sample in node.properties (or comparable)
property_encrypted sensor_db_pswd