secret
Share Sensitive Information in R Packages
Allow sharing sensitive information, for example passwords, 'API' keys, etc., in R packages, using public key cryptography.
README
```{r, setup, echo = FALSE, message = FALSE}
knitr::opts_chunk$set(
comment = "#",
tidy = FALSE,
fig.width = 8,
fig.height = 8)
```
[](https://travis-ci.org/gaborcsardi/secret)
[](https://ci.appveyor.com/project/gaborcsardi/secret)
[](http://www.r-pkg.org/pkg/secret)
[](http://www.r-pkg.org/pkg/secret)
[](https://codecov.io/github/gaborcsardi/secret?branch=master)
Allow sharing sensitive information, for example passwords, 'API' keys,
etc., in R packages, using public key cryptography.
## Disclaimer
1. Although the package authors did what they could to make sure that
the package is secure and cryptographically sound, they are not
security experts.
2. Memory areas for secrets, user passwords, passphrases, private keys and
other sensitive information, are not securely cleaned after use!
Technically, the local R process and other processes on the same
computer, may have access to them. Never use this package on a public
computer or any system that you don't trust. (Actually, never typing in
any password on a public computer is good security practice, in general.)
3. Use this package at your own risk!
## Installation
Install the package from CRAN:
```{r, eval = FALSE}
install.packages("secret")
```
## Usage
```{r, child="vignette_child/child.Rmd"}
```
## License
MIT © Gábor Csárdi, Andrie de Vries
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
1.1.0 |
2026-04-09 windows/windows R-4.5 | secret_1.1.0.zip |
324.5 KiB |