initFileBasedStorage: Initialize file-based storage

Description Usage Arguments Value

Description

In case no OS resource for storing credentials is available/ implemented, a file-based fall-back is used. Sensitive information is encrypted prior to being stored to an .Rsecrets file. The key for decryption is either managed by the user or written to the user's .Rprofile.

Usage

1
2
initFileBasedStorage(key = NULL, secretsPath = file.path("~", ".Rsecrets"),
  profilePath = file.path("~", ".Rprofile"))

Arguments

key

Key used for en-/decryption. If not user-supplied (NULL), a new one is generated.

secretsPath

Path to the .Rsecrets file (default is in user home).

profilePath

Path to the .Rprofile file (default is in user home).

Value

NULL (invisibly).


nbenn/secretr documentation built on May 23, 2019, 12:24 p.m.