powered by
Retrieves credentials (username and password) from os credential store using keyring package.
utils_database_get_or_set_creds(dbname)
Invisibly returns list of username and password
Name of database to store/retrieve credentials for (string)
if (FALSE) { creds <- easydb::util_get_database_creds( service = "R-keyring-test-service", username = "donaldduck" ) creds$username creds$password }
Run the code above in your browser using DataLab