Interact with HashiCorp’s vault, to securely use secrets from R. This package wraps the vault http API to allow secrets to be accessed from R. Secrets might be passwords, tokens, certificates or any other sensitive data.
Create a vault client with the vault_client
function:
## Verifying token
Interact with vault using this object:
## [1] "admin" "readonly"
and read secrets with
## $value
## [1] "s3cret"
## [1] "passw0rd"
or set secrets with
or delete secrets with
Install vaultr
from CRAN with
To install our internally released version (which might be ahead of CRAN) via r-universe, use
install.packages(
"vaultr",
repos = c("https://vimc.r-universe.dev", "https://cloud.r-project.org"))
or install the bleeding edge with
MIT © Imperial College of Science, Technology and Medicine