User credentials in R-script

Hi all,

I am using a R-script to do a upload data into a database (doesn’t work properly if done via the normal nodes). I want every user that executes the workflow to be required to enter their database credentials (or, if not possible, at least embedd mine in a secure way).

I have tried to do it using the “Credentials Input” Node, but I can not provide this Flow Variable to a R-script.

Using regular Flow Variables is not really an option since users then could save their passwords to the server by misstake in an unsecure way.

Does anybody have a good suggestion on how to procede here?