Skip to content

Support environment variables for username and password when publishing #9053

@mwgamble

Description

@mwgamble

Issue Kind

Brand new capability

Description

The current approach of having to supply usernames and password as CLI flags is insecure. On a Linux system (not sure about other platforms), CLI args are visible to all processes running on the host kernel. On the other hand, environment variables are only visible to the user who ran the process.

Impact

The ability to specify registry credentials as environment variables should be a positive impact for users. It will allow them to more securely handle login credentials.

Workarounds

Yes, just use the existing command line flags.

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