Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant