Home Smart Home Home Assistant Lesson 8 – Password protection

Home Assistant Lesson 8 – Password protection


We will be familiar with a new file, secrets.yaml

For example you have a password or a token or key … want to hide away from the place configuration.yaml file containing the password you declare to follow this structure: secret namepassword

Then, open the available secrets.yaml file in Hass’s directory and add the following declaration:    namepassword: pass to set

Do the same with keys, tokens, bla..bla … Finally, you will get a secrets.yaml file containing all the passwords. If you want to share the code later, just keep the secrets.yaml file.

Rate this post

Related Tips And Tricks

Leave a Comment

Tips and Tricks

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept