I have a shell script that accesses a service using a password. What would be a better idea than copying the password from vaultwarden and pasting it in clear text in the script?
The host has docker for vaultwarden so is docker secrets a possibility?
Encrypting the password with openssl into a file and putting the decryption key in clear text in the script is an idea found by googling.
Can vaultwarden encrypted json export a single entry and can a script decrypt the json file?