kvmd
kvmd copied to clipboard
Support NETRC to download files
As it stands, kvmd does not use netrc to download files, this mr adds the missing flag to let aiohttp use netrc for authentication.
Reference: https://docs.aiohttp.org/en/stable/client_reference.html#aiohttp.ClientSession
trust_env (bool) – Trust environment settings for proxy configuration if the parameter is True (False by default).
Get proxy credentials from ~/.netrc file if present.
Get HTTP Basic Auth credentials from ~/.netrc file if present.
If `NETRC` environment variable is set, read from file specified there rather than from ~/.netrc.
Maybe settings in override.yaml will be a better solution?
Sup?
Probably it's not relevant anymore.