mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Remove legacy api_password occurances (#11763)
This commit is contained in:
parent
5a2e3f539d
commit
e30c46283f
@ -10,7 +10,6 @@ For integrations that you want to use in Home Assistant, you add code in your `c
|
|||||||
|
|
||||||
The following example entry assumes that you would like to set up the [notify component](/integrations/notify) with the [pushbullet platform](/integrations/pushbullet).
|
The following example entry assumes that you would like to set up the [notify component](/integrations/notify) with the [pushbullet platform](/integrations/pushbullet).
|
||||||
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
notify:
|
notify:
|
||||||
platform: pushbullet
|
platform: pushbullet
|
||||||
@ -66,11 +65,12 @@ sensor:
|
|||||||
## Including values
|
## Including values
|
||||||
|
|
||||||
### Environmental variables
|
### Environmental variables
|
||||||
|
|
||||||
You can include values from your system's environment variables with `!env_var`. Note that this will only work in a scenario where it is possible to specify these. Hass.io users are recommended to use `!include` statements instead.
|
You can include values from your system's environment variables with `!env_var`. Note that this will only work in a scenario where it is possible to specify these. Hass.io users are recommended to use `!include` statements instead.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
http:
|
example:
|
||||||
api_password: !env_var PASSWORD
|
password: !env_var PASSWORD
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Default value
|
#### Default value
|
||||||
@ -78,8 +78,8 @@ http:
|
|||||||
If an environment variable is not set, you can fallback to a default value.
|
If an environment variable is not set, you can fallback to a default value.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
http:
|
example:
|
||||||
api_password: !env_var PASSWORD default_password
|
password: !env_var PASSWORD default_password
|
||||||
```
|
```
|
||||||
|
|
||||||
### Including entire files
|
### Including entire files
|
||||||
|
@ -14,8 +14,8 @@ $ hass --script credstash --help
|
|||||||
To store a password in credstash, replace your password or API key with `!secret` and an identifier in `configuration.yaml` file.
|
To store a password in credstash, replace your password or API key with `!secret` and an identifier in `configuration.yaml` file.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
http:
|
example:
|
||||||
api_password: !secret http_password
|
password: !secret example_password
|
||||||
```
|
```
|
||||||
|
|
||||||
Create an entry in your credstash store.
|
Create an entry in your credstash store.
|
||||||
|
@ -32,10 +32,6 @@ http:
|
|||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
api_password:
|
|
||||||
description: "**Deprecated since 0.90 release. Configuration moved to [Legacy API password auth provider](/docs/authentication/providers/#legacy-api-password).** Protect the Home Assistant API with a password - this password can also be used to log in to the frontend. Where your client or other software supports it, you should use [long lasting access token](/docs/authentication/#your-account-profile) instead, as [shown in the REST API](https://developers.home-assistant.io/docs/en/external_api_rest.html) and [websocket API](https://developers.home-assistant.io/docs/en/external_api_websocket.html) documentation."
|
|
||||||
required: false
|
|
||||||
type: string
|
|
||||||
server_host:
|
server_host:
|
||||||
description: "Only listen to incoming requests on specific IP/host. By default it will accept all IPv4 connections. Use `server_host: ::0` if you want to listen to (and only) IPv6."
|
description: "Only listen to incoming requests on specific IP/host. By default it will accept all IPv4 connections. Use `server_host: ::0` if you want to listen to (and only) IPv6."
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user