get_secret_email: Get email associated with secret in local Renvironment for...

View source: R/setup.R

get_secret_emailR Documentation

Get email associated with secret in local Renvironment for reuse

Description

get_secret_email is a function that retrieves the email address associated with the credentials stored in the local .Renviron file from the store_secret_credentials.

Usage

get_secret_email()

Details

get_secret_email should most likely never be run by the user as it is an internal function that will be passed to other functions like get_token. Nevertheless, it may be useful for a user who wants to check the email address that was saved in the local .Renviron file for errors. If the email address is incorrect, the user may consider rerunning store_secret_credentials and inputting the correct email address as part of the prompt.

Value

string of the email address

Author(s)

Gabriel Rosenfeld, gabriel.rosenfeld@nih.gov


niaid/tbportals.depot.api documentation built on Feb. 22, 2025, 5:41 p.m.