save_credentials
saves a set of database credentials using the keyring
package.
Usage
save_credentials(db, user, password)
Arguments
- db
database name, either 'nrw', 'regio', 'de' or 'bm'.
- user
your user name.
- password
your password.
Details
User/password are stored in Keychain on macOS, Credential Store on Windows or Secret Service API on Linux.
If a user/password pair for a database already exists, it is silently replaced with the new pair.
This function relies on the keyring
package.