GitHunt

agent

Encrypted Key-Value Store for Sensitive Data

Project Status: Concept – Minimal or no implementation has been done yet, or the repository is only intended to be a limited example, demo, or proof-of-concept.
Build Status
AppVeyor Build Status
Coverage Status
CRAN_Status_Badge
CRAN RStudio mirror downloads

Cross platform solution for securely storing sensitive data. This
can either be used directly by the user or by other packages for storing
e.g. web tokens or other secrets. The degree of security is detemined by
the strength of the password as set by the user.

Hello World

The agent works like a simple key-value store. The value can be any object that can be serialized by R such as a token or data frame. This API can either be called by the user or by other packages.

library(agent)
agent_set("my_secret_token", "ABCXYZ")
agent_get("my_secret_token")
## "ABCXYZ"
agent_has("my_secret_token")
## TRUE
agent_del("my_secret_token")

It is up to the user to protect the keystore with a password:

update_password()

The user will automatically be prompted for a password when the keystore needs to be unlocked, for example when a package needs to retrieve a secured token.

Languages

R100.0%

Contributors

Other
Created October 18, 2016
Updated October 6, 2025
jeroen/agent | GitHunt