mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
b626a2c93b
This change addresses solutions 2) and 3) of the related issue #5553. It mainly starts using the (now exposed) `Config.AuthPlugin()` function of the `rest` package in the `download.OCIDownloader`. This allows it to use any `HTTPAuthPlugin` that is defined in the `Config.Credentials` section and makes it much more consistent with behavior of the `download.Downloader` and potential other uses of the rest package. Fixes #5553 Signed-off-by: DerGut <jannik.steinmann@gmx.de>