Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Basic auth env vars not used on push? #303

Open
vdice opened this issue Feb 4, 2022 · 0 comments
Open

Basic auth env vars not used on push? #303

vdice opened this issue Feb 4, 2022 · 0 comments

Comments

@vdice
Copy link
Member

vdice commented Feb 4, 2022

On bindle push, I'm seeing behavior where an authn error is returned when attempting to send in un/pw via env vars, but all is good when I use the global flags:

$  BINDLE_URL="http://127.0.0.1:8080/v1" BINDLE_HTTP_USER=admin BINDLE_HTTP_PASSWORD=${PASSWORD} bindle push mybindle/0.1.0
User has invalid credentials or is not authorized to access the requested resource

$  BINDLE_URL="http://127.0.0.1:8080/v1" bindle --http-user admin --http-password ${PASSWORD} push mybindle/0.1.0
Pushed bindle mybindle/0.1.0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant