You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't find any mention of using vars from secrets.yaml in the docs so i added one in case some one else finds themselves in the same situation as me.
Copy file name to clipboardExpand all lines: docs/reference.rst
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1454,6 +1454,20 @@ triggers and application logic, eg:
1454
1454
1455
1455
Validating the configuration can be done either manually or with the ``voluptuous`` package.
1456
1456
1457
+
Secrets can also be bound to variables by substituting the value with ``!secret my_secret``. This is useful API keys and passwords needed for services on the network.
1458
+
1459
+
Here is an example config for ``service_checker`` which needs a name (not a secret) and a URL and an API key:
0 commit comments