Hass cli / credstash / docker

It doesn’t look like the hass cli is installed on the Hass Docker image. Not sure if I just can’t find it. In any case, I’m trying to use credstash with docker image, but I can’t run hass --script credstash [arg]

Does anyone have any thoughts on how I might get it to work?

Hi All,

Ok, so more information…really just documenting this in case anyone else has “issues”.

So, it seems like the hass cli is not installed on the docker image, so you can’t use

hass --script credstash to setup credstash

so, if you want it to work here’s what you need to do:

  1. Setup credstash (see the HASS docs)
  2. Set the env vars for your AWS Key / Secret
  3. Start your Docker container, and SSH into it
  4. Run the following command to setup your table (you have to add the -t homeassistant)
    credstash -t homeassistant setup
  5. Start adding your keys with
    credstash -t homeassistant put [key name] [key value]

I hope that helps someone out.

Hello.

Are you still using this feature?
I dream to use it, but I am getting always errors

Claudio

Hello @claudiosala80

No I don’t use it anymore. I found that it made the app start time very long when restarting.

That said, what errors are you getting?

Chris

Solved: I created and empty secrets.yaml file and now it is ok!