Composing Doppler Run Commands

Have you ever needed to compose doppler commands before? Did you ever get surprised looks wondering why you’d ever want to do that (overengineering…)? Well I had a use case for storing and using both user and environment specific keys:

Thanks for sharing! This is a really interesting take on using environments as a way to access configs specific to users. In the future, we will be supporting permissions per config and possibly the ability to merge multiple configs together on doppler run.

Ive been thinking of the way to best support development/debugging locally. For instance say some issue occurs in qa, you may need to tunnel into your network vpn and the remote db isn’t actually the same as in qa itself it may be a pass through jump box revealed as with an ephemeral port whereas the qa config is an internal domain and fixed port. In this case you want to take the base qa config (but not the host or user) and combine it with your pass through host and your own credentials to actually safely debug locally. This is where merge is powerful (have local env specific variables override a qa config for triage).

That makes a ton of sense! I can definitely see merging being a powerful feature. I have shared it with our team!

Thanks Brian, let me know if there’s anything I can do to help.

1 Like