Skip to content

Commit

Permalink
!secret -> !secret.yaml. Koenkk/zigbee2mqtt#14955
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Nov 13, 2022
1 parent 2027566 commit 72f96dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/guide/configuration/frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ frontend:
url: 'https://zigbee2mqtt.myhouse.org'
```

To specify the `auth_token` in a different file set e.g. `auth_token: '!secret auth_token'`, create a file called `secret.yaml` next to `configuration.yaml` with content `auth_token: super-secret-token`.
To specify the `auth_token` in a different file set e.g. `auth_token: '!secret.yaml auth_token'`, create a file called `secret.yaml` next to `configuration.yaml` with content `auth_token: super-secret-token`.


**NOTE:** If you are running Zigbee2MQTT via the Home Assistant addon you cannot change the port. The addon will force the frontend to run on port 8099 as Home Assistant Ingress requires this.
Expand Down
6 changes: 3 additions & 3 deletions docs/guide/configuration/mqtt.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ configuration.
```yaml
# IMPORTANT: Don't forget the quotes!
mqtt:
server: '!secret server'
user: '!secret user'
password: '!secret password'
server: '!secret.yaml server'
user: '!secret.yaml user'
password: '!secret.yaml password'
```

**secret.yaml**
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/configuration/zigbee-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ To specify the network_key in a different file, e.g `secret.yaml`, use the follo
```yaml
# IMPORTANT: Don't forget the quotes!
advanced:
network_key: '!secret network_key'
network_key: '!secret.yaml network_key'
```

**secret.yaml**
Expand Down

0 comments on commit 72f96dc

Please sign in to comment.