mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-31 15:26:49 +00:00

* 🔥 Removes octopress.js * 🔥 Removes use of root_url var * 🔥 Removes Octopress generator reference from feed * 🔥 Removes delicious support * 🔥 Removes support for Pinboard * 🔥 Removes support for Disqus * 🔥 Removes support for Google Plus * ↩️ Migrate custom after_footer to default template * ↩️ Migrate custom footer to default template * ↩️ Migrate custom header to default template * 🔥 Removes unused template files * 🚀 Places time to read directly in post template * 🚀 Removes unneeded capture from archive_post.html template * 🔥 🚀 Removes unused, but heaving sorting call in component page * 🚀 Merged javascripts into a single file * 🔥 Removes more uses of root_url * 🚀 Removal of unneeded captures from head * 🔥 🚀 Removal of expensive liquid HTML compressor * 🔥 Removes unneeded templates * 🚀 Replaces kramdown with GitHub's CommonMark 🚀 * 💄 Adds Prism code syntax highlighting * ✨ Adds support for redirect in Netlify * ↩️ 🔥 Let Netlify handle all developer doc redirects * ✏️ Fixes typo in redirects file: Netify -> Netlify * 🔥 Removes unused .themes folder * 🔥 Removes unused aside.html template * 🔥 Removes Disqus config leftover * 🔥 Removes rouge highlighter config * 🔥 Removes Octopress 🎉 * 💄 Adjust code block font size and adds soft wraps * 💄 Adds styling for inline code blocks * 💄 Improve styling of note/warning/info boxes + div support * 🔨 Rewrites all note/warning/info boxes
38 lines
946 B
Markdown
38 lines
946 B
Markdown
---
|
|
title: "keyring"
|
|
description: "Script to store secrets in a keyring"
|
|
---
|
|
|
|
Using [Keyring](https://github.com/jaraco/keyring) is an alternative way to `secrets.yaml`. The secrets can be managed from the command line via the `keyring` script.
|
|
|
|
```bash
|
|
$ hass --script keyring --help
|
|
```
|
|
|
|
To store a password in keyring, replace your password or API key with `!secret` and an identifier in `configuration.yaml` file.
|
|
|
|
```yaml
|
|
http:
|
|
api_password: !secret http_password
|
|
```
|
|
|
|
Create an entry in your keyring.
|
|
|
|
```bash
|
|
$ hass --script keyring set http_password
|
|
```
|
|
|
|
If you launch Home Assistant now, you will be prompted for the keyring password to unlock your keyring.
|
|
|
|
```bash
|
|
$ hass
|
|
Config directory: /home/homeassistant/.homeassistant
|
|
Please enter password for encrypted keyring:
|
|
```
|
|
|
|
<div class='note warning'>
|
|
|
|
If you are using the Python Keyring, [autostarting](/getting-started/autostart/) of Home Assistant will no longer work.
|
|
|
|
</div>
|