podman-py icon indicating copy to clipboard operation
podman-py copied to clipboard

REGISTRY_AUTH_FILE setting is ignored

Open superstator opened this issue 6 months ago • 1 comments

Podman and Docker CLIs both check for a REGISTRY_AUTH_FILE environment variable at run time and, if set, use that path to read/write registry credentials. podman-py ignores it and only checks the default podman auth file location.

Is there a way to make podman-py follow the same credential resolution logic as the CLI? Looking at the docs, it seems like credstore_env might be relevant, but details are a little lacking.

superstator avatar May 21 '25 22:05 superstator

The question hould be whether docker-py follows it or not? IE Is it the responsibility of the user to specify it on the library to use it.

rhatdan avatar May 23 '25 15:05 rhatdan