Site updated at 2017-07-29 22:06:40 UTC

This commit is contained in:
Travis CI 2017-07-29 22:06:40 +00:00
parent e55d4ce725
commit 59edc9bad6
744 changed files with 14665 additions and 3545 deletions

View file

@ -133,6 +133,21 @@ Please enter password <span class="k">for </span>encrypted keyring:
<p class="note warning">
If you are using the Python Keyring, <a href="/getting-started/autostart/">autostarting</a> of Home Assistant will no longer work.
</p>
<h3><a class="title-link" name="storing-passwords-in-a-keyring-managed-by-your-os" href="#storing-passwords-in-a-keyring-managed-by-your-os"></a> Storing passwords in a keyring managed by your OS</h3>
<p>Using <a href="https://github.com/fugue/credstash">Credstash</a> is an alternative way to <code class="highlighter-rouge">secrets.yaml</code>. They can be managed from the command line via the credstash script.</p>
<p>Before using credstash, you need to set up AWS credentials either via the <code class="highlighter-rouge">aws</code> command line tool, or using environment variables as explained in the <a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html">AWS CLI docs</a> as well as creating a KMS key named credstash as explained in the <a href="https://github.com/fugue/credstash#setting-up-kms">credstash readme</a>. After that is complete, you can use the provided script to add secrets to your Home Assistant secret store in credstash</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>hass --script credstash --help
</code></pre>
</div>
<p>To store a password in credstash, replace your password or API key with <code class="highlighter-rouge">!secret</code> and an identifier in <code class="highlighter-rouge">configuration.yaml</code> file.</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">http</span><span class="pi">:</span>
<span class="s">api_password</span><span class="pi">:</span> <span class="kt">!secret</span> <span class="s">http_password</span>
</code></pre>
</div>
<p>Create an entry in your credstash store.</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>hass --script credstash <span class="nb">set </span>http_password
</code></pre>
</div>
</article>
</div>
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">