Skip to content

Support loading parameters from environment variables #768

@leipert

Description

@leipert

Summary

It seems like click supports loading parameters from env variables. This would make it easier to:

  1. Configure a docker container in docker-compose with env variables
  2. Potentially be a little more secure, because providing --password currently prints the password in certain contexts (e.g. ps)

Context

Found my password exposed in the ps tree in the portainer interface.

Screenshot 2024-01-07 at 12 22 59

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions