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:
~/.ssh/id_rsa
, and
~/.ssh/id_rsa.pem
.
local_key()
The location of the key is defined by:
Sys.getenv("USER_KEY")
To use a local in a different location, set an environment variable:
Sys.setenv(USER_KEY = "path/to/private/key")
Other secret functions: add_secret
,
delete_secret
, get_secret
,
list_owners
, list_secrets
,
share_secret
, unshare_secret
,
update_secret