File: config-from-environment-3feba7b4cc747d2b.yaml

package info (click to toggle)
python-oslo.config 1%3A8.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,192 kB
  • sloc: python: 10,740; makefile: 30; sh: 10
file content (22 lines) | stat: -rw-r--r-- 724 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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``.