Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95925

Trying to sanitize configuration.yaml and have a question about !secret replacement

$
0
0

@mattlward wrote:

How would I take the following username and password out and replace it with a !secret value? It should take 4 entries in the secrets.yaml file.

command_on: echo 'sudo docker exec addon_40817795_nut upscmd -u AAAA -p BBBB,sa drups test.battery.start.deep' | sshpass -p XXXXXXX ssh YYYYYY@192.168.1.6

Thanks Matt

Posts: 7

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>