get_secret: Get secret in local Renvironment for reuse

View source: R/setup.R

get_secretR Documentation

Get secret in local Renvironment for reuse

Description

get_secret is a function that retrieves the secret credentials stored in the local .Renviron file from the store_secret_credentials.

Usage

get_secret()

Details

get_secret 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 secret that was saved in the local .Renviron file for errors. If the secret is incorrect, the user may consider rerunning store_secret_credentials and copying and pasting the correct secret as part of that prompt.

Value

string of the secret

Author(s)

Gabriel Rosenfeld, gabriel.rosenfeld@nih.gov


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