1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-06 13:18:42 +02:00
Files
github.com_openSUSE_osc/osc
Daniel Mach 82216c72b4 Implement reading credentials from environmental variables
Options for apiurls can be set via OSC_HOST_<ALIAS>_<OPTION>=...
This requires a configured alias in the config file.

Setting the default apiurl via OSC_APIURL=... was working already.
Also OSC_CONFIG= / --config= was already implemented to skip loading configuration entirely.

Options for the default apiurl can be now set via:
  OSC_USERNAME=...
  OSC_CREDENTIALS_MGR_CLASS=...
  OSC_PASSWORD=...

This, for example, makes running osc in containers with
credentials stored in environmental variables possible:
OSC_CONFIG= OSC_APIURL=<url> OSC_USERNAME=<user> OSC_PASSWORD=<password> osc ...
2024-01-08 15:21:45 +01:00
..
2023-12-04 15:05:14 +01:00
2009-12-03 19:19:53 +01:00
2024-01-06 10:00:38 +01:00
2024-01-06 10:00:38 +01:00
2024-01-06 10:00:38 +01:00
2024-01-06 10:00:38 +01:00
2024-01-06 10:00:38 +01:00
2024-01-06 10:00:38 +01:00
2024-01-06 10:00:38 +01:00
2024-01-06 10:00:38 +01:00
2024-01-06 10:00:38 +01:00
2024-01-06 10:00:38 +01:00
2022-12-05 15:28:02 +01:00
2024-01-06 10:00:38 +01:00