backend_macos {keyring} | R Documentation |
This backend is the default on macOS. It uses the macOS native Keychain Service API.
backend_macos
An object of class R6ClassGenerator
of length 24.
It supports multiple keyrings.
See backend for the documentation of the individual methods.
Other keyring backends: backend_env
,
backend_file
,
backend_secret_service
,
backend_wincred
## Not run: ## This only works on macOS kb <- backend_macos$new() kb$create_keyring("foobar") kb$set_default_keyring("foobar") kb$set_with_value("service", password = "secret") kb$get("service") kb$delete("service") kb$delete_keyring("foobar") ## End(Not run)