How to override secrets on a developer machine (if possible)

I come from using EnvKey, and its CLI allows developers to override keys from dev environments on a per-machine basis - that helps when the developer’s machine has a database set for a different port, for example. Is anything like that possible to be done using Doppler?

Hi @diego-oikos!

Welcome to the Doppler Community!

What you’re probably after here are Branch Configs. For example, if you have a dev environment, you can create a dev_diego branch config under it and it inherits all the secrets from the root config. That user can then override pre-existing variables with other values or add completely new variables. Changes to the root config are propagated down to the branch configs (aside from anything that’s been overriden).

Will that work for what you’re after?

Regards,
-Joel

1 Like