Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.16 KB

credstash.markdown

File metadata and controls

32 lines (24 loc) · 1.16 KB
layout title description release_date sidebar comments sharing footer
page
credstash
Script to store credentials securely in AWS
2017-02-23 03:00:00 -0800
true
false
true
true

Using Credstash is an alternative way to secrets.yaml. They can be managed from the command line via the credstash script.

Before using credstash, you need to set up AWS credentials either via the aws command line tool or using environment variables as explained in the AWS CLI docs as well as creating a KMS key named credstash as explained in the credstash Readme. After that is complete, you can use the provided script to add secrets to your Home Assistant secret store in credstash.

$ 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.

http:
  api_password: !secret http_password

Create an entry in your credstash store.

$ hass --script credstash set http_password