Dconfig - 2

source: type: http url: http://config-server.internal:8080/v1/config auth: type: bearer token: $DCONFIG_TOKEN secrets: - DB_PASSWORD - API_KEY If DCONFIG_TOKEN is not set, the tool might fall back to an empty token or a default.

bash"

$ ls -la -rw-r--r-- 1 user user 124 .dconfig.yaml -rwxr-xr-x 1 user user 2.1M dconfig Sample config: dconfig 2

$ file dconfig dconfig: ELF 64-bit executable $ ./dconfig --help Usage: dconfig [OPTIONS] COMMAND Commands: fetch Retrieve config from remote source apply Apply config to local environment validate Check config syntax

Check environment:

$ env | grep DCONFIG (empty) Try fetching config without a token:

Flag obtained. If dconfig supports variable substitution in values, test with: source: type: http url: http://config-server

"DB_PASSWORD": "flag...", "API_KEY": "secret123"