Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.
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

Description

@vdice

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions