utils_database_get_or_set_creds | R Documentation |
Retrieves credentials (username and password) from os credential store using keyring package.
utils_database_get_or_set_creds(dbname)
dbname |
Name of database to store/retrieve credentials for (string) |
Invisibly returns list of username and password
## Not run: creds <- easydb::util_get_database_creds( service = "R-keyring-test-service", username = "donaldduck" ) creds$username creds$password ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.