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

get_secret()

Value

string of the 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.

Author

Gabriel Rosenfeld, gabriel.rosenfeld@nih.gov