Skip to content

Support _FILE based configuration values for all config keys #253

@m90

Description

@m90

To configure this tool, a lot of potentially sensitive and powerful credentials and tokens need to be passed. Right now, these have to be passed as env vars. Docker Swarm supports "secrets" which allows putting credentials into files made available to the container at runtime.

This was added for S3 credentials in #161, but not for anything else.

Unfortunately package envconfig which is used here does not (and will not) support this out of the box: kelseyhightower/envconfig#130

Supporting this pattern for all values would be a very nice addition though, so I can see a few ways forward:

  • find out if there is a fork of package envconfig that supports this (it's mostly dormant anyways)
  • fork package envconfig and add the functionality ourselves
  • find a different package for handling configuration (this would need to be non-breaking)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions