diff --git a/atom.xml b/atom.xml index 7bdcdd844d..66ac319759 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
configuration.yaml
file.configuration.yaml
file.configuration.yaml
file.diff --git a/docs/configuration/secrets/index.html b/docs/configuration/secrets/index.html index 65caa70014..f8968d1acd 100644 --- a/docs/configuration/secrets/index.html +++ b/docs/configuration/secrets/index.html @@ -75,9 +75,9 @@
The configuration.yaml
file is a plain-text file, thus it is readable by anyone who has access to the file. The file contains passwords and API tokens which need to be redacted if you want to share your configuration. By using !secrets
you can remove any private information from you configuration files. This separation can also help you to keep easier track of your passwords and API keys. As they are all stored at one place and no longer spread across the configuration.yaml
file or even multiple yaml files if you split up your configuration.
The configuration.yaml
file is a plain-text file, thus it is readable by anyone who has access to the file. The file contains passwords and API tokens which need to be redacted if you want to share your configuration. By using !secrets
you can remove any private information from you configuration files. This separation can also help you to keep easier track of your passwords and API keys. As they are all stored at one place and no longer spread across the configuration.yaml
file or even multiple yaml files if you split up your configuration.
The workflow for moving private information to secrets.yaml
is very similar to the splitting of the configuration. Create a secrets.yaml
file in your Home assistant configuration directory (The location of the folder differs between operating systems: on OS X and Linux it’s ~/.homeassistant
and on Windows it’s %APPDATA%/.homeassistant
).
The workflow for moving private information to secrets.yaml
is very similar to the splitting of the configuration. Create a secrets.yaml
file in your Home Assistant configuration directory.
The entries for password and API keys in the configuration.yaml
file usually looks like the example below.
http:
api_password: YOUR_PASSWORD
@@ -95,7 +95,7 @@
Debugging secrets
When you start splitting your configuration into multiple files, you might end up with configuration in sub folders. Secrets will be resolved in this order:
- - A
secrets.yaml
located in the same folder as the yaml file referencing the secret,
+ - A
secrets.yaml
located in the same folder as the YAML file referencing the secret,
- next, parent folders will be searched for a
secrets.yaml
file with the secret, stopping at the folder with the main configuration.yaml
,
- lastly,
keyring
will be queried for the secret (more info below)
@@ -106,7 +106,7 @@
This will not print the actual secret’s value to the log.
Option 2: View where secrets are retrieved from and the contents of all secrets.yaml
files used, you can use the check_config
script from the command line:
hass --script check_config --secrets
+$ hass --script check_config --secrets
This will print all your secrets.
diff --git a/sitemap.xml b/sitemap.xml
index 49867f3ed7..6e8ac8a500 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -3887,62 +3887,62 @@
https://home-assistant.io/demo/frontend.html
-2017-08-23T07:40:20+00:00
+2017-08-23T09:12:48+00:00
https://home-assistant.io/demo/index.html
-2017-08-23T07:40:20+00:00
+2017-08-23T09:12:48+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-event.html
-2017-08-23T07:40:20+00:00
+2017-08-23T09:12:48+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-info.html
-2017-08-23T07:40:20+00:00
+2017-08-23T09:12:48+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-service.html
-2017-08-23T07:40:20+00:00
+2017-08-23T09:12:48+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-state.html
-2017-08-23T07:40:20+00:00
+2017-08-23T09:12:48+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-template.html
-2017-08-23T07:40:20+00:00
+2017-08-23T09:12:48+00:00
https://home-assistant.io/demo/panels/ha-panel-history.html
-2017-08-23T07:40:20+00:00
+2017-08-23T09:12:48+00:00
https://home-assistant.io/demo/panels/ha-panel-iframe.html
-2017-08-23T07:40:20+00:00
+2017-08-23T09:12:48+00:00
https://home-assistant.io/demo/panels/ha-panel-logbook.html
-2017-08-23T07:40:20+00:00
+2017-08-23T09:12:48+00:00
https://home-assistant.io/demo/panels/ha-panel-map.html
-2017-08-23T07:40:20+00:00
+2017-08-23T09:12:48+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
-2017-08-23T07:40:20+00:00
+2017-08-23T09:12:48+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
-2017-08-23T07:40:20+00:00
+2017-08-23T09:12:48+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
-2017-08-23T07:40:20+00:00
+2017-08-23T09:12:48+00:00
https://home-assistant.io/static/mdi-demo.html
-2017-08-23T07:40:20+00:00
+2017-08-23T09:12:49+00:00