question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEAT] Storing Secrets

See original GitHub issue

My apologies if this is covered somewhere and I missed it. Is there a pattern for dealing with secrets, passwords, things you don’t want directly in your config?

I see that Frigate uses a pattern where you can create environment variables prefixed with FRIGATE_ and then reference them in yaml by wrapping the environment variable in curly braces {FRIGATE_MQTT_PASSWORD}, does something like this exist in Double Take?

If Double Take does not have this yet, it seems like using the same pattern as Frigate could make this straight forward for users?

My main issue is that my mqtt-broker has a username/password and I would like to keep my mqtt password out of my config file; often times I leave these config files open source and reference them.

Thanks for the work on this repo, it is a much needed tool and I look forward to working with it more!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
TonyBrobstoncommented, Dec 2, 2021

I finally got around to using this, it works great!

I was able to back everything up to a github repo and keep my secrets out!

1reaction
jakowenkocommented, Nov 26, 2021

Awesome, I’ll give that a shot and report back. I assume there is a beta docker image tag? I’ll take a look when I have time.

Thanks!

jakowenko/double-take:beta is the beta build. It’s only for amd64, so if you are running on a Pi you’ll have to wait until I release this 1.7.0 which will probably be tomorrow. Just wanted you to test this feature first 😃. I did push a little update to use the Home Assistant /config/secrets.yaml file if you are running the add-on, I have it explained here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

feat: use VS Code SecretStorage to store tokens - GitLab
This MR changes the way we store tokens in the extension. Instead of storing them in the extension globalState which is backed by...
Read more >
feat: Secure Storage API #2394 - ionic-team/capacitor - GitHub
Storing secrets is a core tenet of many applications and this feels like a hole in the current Capacitor Platform.
Read more >
The Weeknd - Secrets (Official Video) - YouTube
Secrets (Official Video)Taken from the album STARBOYhttp://theweeknd.co/StarboyIY Connect with The Weeknd:http://www.facebook.com/theweeknd ...
Read more >
101 Data Protection Tips: How to Keep Your Passwords ...
We've compiled 101 Data Protection Tips to help you protect your passwords, financial information, and identity online.
Read more >
Storing Credentials - all possible ways - Help
2.Windows Credential manager. 3.Encrypted passwords in Configs or any other file or storage buckets 4. Azure Key vault 5. File based credential ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found