0

I'm developing a package for my company, and I want to need to hide the credentials of the connections to redshift databases. Is there an easy way to set it up?

1 Answers1

0

Try this:

  1. Create a file my_credentials.env
  2. At the beginning of the code run readRenviron("my_credentials.env")
  3. Access your variables by Sys.getenv("MY_VARIABLE")

More information over here basic or advanced

abe
  • 198
  • 2
  • 12