local_key: Read local secret key.

Description Usage Details See Also

View source: R/keys.R

Description

Reads a local secret key from disk. The location of this file can be specified in the USER_KEY environment variable. If this environment variable does not exist, then attempts to read the key from:

Usage

1

Details

The location of the key is defined by:

1
Sys.getenv("USER_KEY")

To use a local in a different location, set an environment variable:

1
Sys.setenv(USER_KEY = "path/to/private/key")

See Also

Other secret functions: add_secret, delete_secret, get_secret, list_owners, list_secrets, share_secret, unshare_secret, update_secret


secret documentation built on June 20, 2017, 9:13 a.m.