get_key: Retrieve a key

Description Usage Arguments Details Value Examples

View source: R/key.R

Description

Return the password for a given system.

Usage

1
get_key(key, ring = getOption("keyring_keyring", "friend"))

Arguments

key

Character. The system for which user wants to retrieve a password.

ring

Optional. Name of keyring.

Details

Function includes checks for has_keyring, keyring_locked, and has_key.

Value

An individual password (character).

Examples

1
2
3
4
## Not run: 
get_key("snowflake")

## End(Not run)

BenjaminWolfe/speakfriend documentation built on Nov. 18, 2019, 5:09 a.m.