mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 03:07:14 +00:00
Update secrets.markdown (#10864)
Change because http password moved to auth providers.
This commit is contained in:
parent
e9e904705c
commit
4b35f65477
@ -13,14 +13,18 @@ The workflow for moving private information to `secrets.yaml` is very similar to
|
|||||||
The entries for password and API keys in the `configuration.yaml` file usually looks like the example below.
|
The entries for password and API keys in the `configuration.yaml` file usually looks like the example below.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
http:
|
homeassistant:
|
||||||
|
auth_providers:
|
||||||
|
- type: legacy_api_password
|
||||||
api_password: YOUR_PASSWORD
|
api_password: YOUR_PASSWORD
|
||||||
```
|
```
|
||||||
|
|
||||||
Those entries need to be replaced with `!secret` and an identifier.
|
Those entries need to be replaced with `!secret` and an identifier.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
http:
|
homeassistant:
|
||||||
|
auth_providers:
|
||||||
|
- type: legacy_api_password
|
||||||
api_password: !secret http_password
|
api_password: !secret http_password
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user