Skip to content

Proposal: ENV builder from multiple secrets #21

Description

@prochac

Something I missed in Teller was a templating system.

My usecase:

  • Having username, password, hostname and database in a vault.
  • But the app uses DSN type of config.

It would be nice to be able to somehow compose the DSN from the secrets.
The PG_DSN could be defined as Go text/template: postgres://{{ .Env.PG_USER}}...
And the PG_USER could have a flag that it shouldn't be outputted.

I don't urge this feature. It may be just me who potentially needs this.
But I think it helps with adoption to already existing projects.

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