trivy icon indicating copy to clipboard operation
trivy copied to clipboard

credentials file for several private registries

Open SBatais opened this issue 2 years ago • 3 comments

I would like to know if trivy can handle a credentials file that contains the credentials of several private docker registries (like docker used .docker/config.json). I know that trivy can access to a private registry by using env variables, but it's limited to one private registries Thanks in advance.

SBatais avatar Sep 29 '22 13:09 SBatais

Hello Can I have an update for this issue ? Thanks in advance

SBatais avatar Nov 24 '22 17:11 SBatais

This issue is stale because it has been labeled with inactivity.

github-actions[bot] avatar Jan 28 '23 00:01 github-actions[bot]

Trivy reads .docker/config.json. You can configure credentials via docker login.

knqyf263 avatar Jan 28 '23 05:01 knqyf263

This issue is stale because it has been labeled with inactivity.

github-actions[bot] avatar Apr 05 '23 00:04 github-actions[bot]

Also, we added support for multiple credential pairs in v0.39.0. https://aquasecurity.github.io/trivy/v0.39/docs/advanced/private-registries/

knqyf263 avatar Apr 09 '23 07:04 knqyf263