set_secrets: Set app secrets

View source: R/utils_secrets.R

set_secretsR Documentation

Set app secrets

Description

Sets secret for app, to be accessed by app during run-time or by other exported functions. Saves it to global options, so this is stored in memory for the lifetime of the current R session.

P.S. don't have secrets hard-coded in your own code, read them in from somewhere secretive

Usage

set_secrets(...)

Arguments

...

Key-value pairs to be saved as "secrets" (all arguments should be named).


xaviermiles/statsnz.odata documentation built on April 14, 2022, 12:53 p.m.