Platform independent 'API' to access the operating system's credential store. Currently supports: 'Keychain' on 'macOS', Credential Store on 'Windows', the Secret Service 'API' on 'Linux', and a simple, platform independent store implemented with environment variables. Additional storage back-ends can be added easily.
Platform independent API to access the operating systems credential store. Currently supports:
libsecret library, at least version 0.16.
No additional software needed
default_backend(). In most cases you don't have to configure this.
Each keyring can contain one or many secrets (keys). A key is defined by a service name and a password. Once a key is defined, it persists in the keyring store of the operating system. This means the keys persist beyond the termination of and R session. Specifically, you can define a key once, and then read the key value in completely independent R sessions.
A keyring is a collection of keys that can be treated as a unit.
A keyring typically has a name and a password to unlock it.
Note that all platforms have a default keyring, and
will use that automatically. The default keyring is also convenient,
because the OS unlocks it automatically when you log in, so secrets
are available immediately.
You only need to explicitly deal with keyrings and the
functions if you want to use a different keyring.
Please see our writeup of some
and as always, use the source code.
MIT © RStudio
First public release.