Hey. I need to automate the encryption of a password parameter in Rstudio connect configuration. I know how to encrypt the value manually:
/opt/rstudio-connect/bin/rscadmin configure --encrypt-config-value
and then I am asked to input the value i need to encrypt. This works but i need to be part of a bash script.
I need this to be part of an automated script and get the encrypted value as an output value (to put in the config file). How can I automate those steps in bash script?