Hey,
I have a CURL URL that contains an authorization token and a device ID.
So I’d rather mask the shell command in configuration.yaml, like by moving the entire command to secrets.yaml and “including” it.
Is that even possible? Would it work?
Hey,
I have a CURL URL that contains an authorization token and a device ID.
So I’d rather mask the shell command in configuration.yaml, like by moving the entire command to secrets.yaml and “including” it.
Is that even possible? Would it work?
Yes it works. I share my config on github so all of my shell commands are in secrets.yaml.
shell_command:
pi_hole_enable: !secret PIHOLE_ENABLE_CMD
pi_hole_disable: !secret PIHOLE_DISABLE_CMD
pi_hole_disable_time: !secret PIHOLE_DISABLE_TIME_CMD