summaryrefslogtreecommitdiff
path: root/releasenotes/notes/config-from-environment-3feba7b4cc747d2b.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'releasenotes/notes/config-from-environment-3feba7b4cc747d2b.yaml')
-rw-r--r--releasenotes/notes/config-from-environment-3feba7b4cc747d2b.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/releasenotes/notes/config-from-environment-3feba7b4cc747d2b.yaml b/releasenotes/notes/config-from-environment-3feba7b4cc747d2b.yaml
new file mode 100644
index 0000000..d78337e
--- /dev/null
+++ b/releasenotes/notes/config-from-environment-3feba7b4cc747d2b.yaml
@@ -0,0 +1,22 @@
+---
+features:
+ - |
+ Support for accessing configuration data in environment variables via the
+ environment backend driver, enabled by default. The environment is checked
+ after command line options, but before configuration files.
+
+ Environment variables are checked for any configuration data. The variable
+ names take the form:
+
+ * A prefix of ``OS_``
+ * The group name, uppercased
+ * Separated from the option name by a `__` (double underscore)
+ * Followed by the name
+
+ For an option that looks like this in the usual INI format::
+
+ [placement_database]
+ connection = sqlite:///
+
+ the corresponding environment variable would be
+ ``OS_PLACEMENT_DATABASE__CONNECTION``.