set_pano: Store PEPFAR Panorama credentials

View source: R/load_secrets.R

set_panoR Documentation

Store PEPFAR Panorama credentials

Description

'set_pano' stores your PEPFAR Panoram credentials email using the 'keyring' package. This will only need to done once. After running 'set_pano(user)', you will be promoted to enter your password through the RStudio API which will then store the username and password in your OS credential store using 'keyring'.

Usage

set_pano(pano_username)

Arguments

pano_username

Panorama user name (email)

Details

The 'keyring' package utilized the OS credentials store. Storing in a centralized, secure location allows analysts to other analysts code without having to manually change user names/email address to access DATIM, Panorama, or Google Drive.

After 'set_pano' has been run once, an analyst can set 'load_secrets' at the beginning of a script, storing their PEPFAR Panorama credentials under Options for the current session.

Value

stores Panorama username and password in using keyring

See Also

Other authentication: datim_pwd(), datim_user(), get_account(), get_key(), get_keys(), get_s3key(), get_services(), load_secrets(), pano_pwd(), pano_user(), pdap_access(), pdap_bucket(), pdap_secret(), set_account(), set_datim(), set_email(), set_key(), set_s3keys()

Examples

## Not run: 
set_pano("rshah@usaid.gov") 
## End(Not run)

USAID-OHA-SI/glamr documentation built on Oct. 1, 2024, 2:18 p.m.