Elektrine lite

← Feed

@onlinepersona@programming.dev

Post #572905

2026-03-07 16:43 UTC

How do you handle secrets? Env vars as described in the docs don’t seem like a solution for a team and we don’t have a vault provider. I was hoping it would have support for encrypting the files with a password or something. What’s your solution?

Replies (2)

  • @pinball_wizard@lemmy.zip 2026-03-07 19:14

    If you lack Vault, occasionally dropping the .env file contents into a shared (appropriately secured) BitWarden or KeePass vault will get the job done.

    Open ##574693

  • @wdx@feddit.org 2026-03-08 10:00

    We only have 1 Secret w le need to manage. The API we develop is secured via Token-based OIDC. While Bruno does support OIDC, they don’t yet support token based OIDC. So we have a pre-request script that does the auth flow and stores the resulting jwt in a runtime variable. this way we only need to define a long lived service account json defining all we need for the auth flow. The /token endpoint is not a secret and we can commit it. So this SA is created manually for every developer for every of our 3 stages

    Open ##585396