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.