mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-29 20:27:00 +00:00
Update HaveIBeenPwned to include API Key (#9977)
* Update HaveIBeenPwned to include API Key * Update haveibeenpwned.markdown * 🚑 Small Markdown fix * ✏️ Tweak
This commit is contained in:
parent
4ac2d9e50b
commit
b8876b7b82
@ -12,6 +12,12 @@ redirect_from:
|
|||||||
|
|
||||||
The `haveibeenpwned` sensor platform creates sensors that check for breached email accounts on [haveibeenpwned](https://haveibeenpwned.com).
|
The `haveibeenpwned` sensor platform creates sensors that check for breached email accounts on [haveibeenpwned](https://haveibeenpwned.com).
|
||||||
|
|
||||||
|
<div class='note warning'>
|
||||||
|
|
||||||
|
The HaveIBeenPwned API now requires you to pay $3.50 a month in order to query the API. More info can be found [here](https://www.troyhunt.com/authentication-and-the-have-i-been-pwned-api/)
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
To enable this sensor, add the following lines to your `configuration.yaml`, it will list every specified email address as a sensor showing
|
To enable this sensor, add the following lines to your `configuration.yaml`, it will list every specified email address as a sensor showing
|
||||||
@ -24,6 +30,7 @@ sensor:
|
|||||||
email:
|
email:
|
||||||
- your_email1@domain.com
|
- your_email1@domain.com
|
||||||
- your_email2@domain.com
|
- your_email2@domain.com
|
||||||
|
api_key: API_KEY
|
||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
@ -31,6 +38,10 @@ email:
|
|||||||
description: List of email addresses.
|
description: List of email addresses.
|
||||||
required: true
|
required: true
|
||||||
type: list
|
type: list
|
||||||
|
api_key:
|
||||||
|
description: HaveIBeenPwned API Key
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## Breach meta data
|
## Breach meta data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user