Stores the OMOPHub API key in the specified location.
Usage
set_api_key(key, store = c("env", "keyring"))
Arguments
- key
The API key to store.
- store
Where to store the key. One of:
Value
Invisibly returns TRUE on success.
Examples
if (FALSE) { # \dontrun{
# Store in environment (current session only)
set_api_key("your_api_key")
# Store securely in keyring (persistent)
set_api_key("your_api_key", store = "keyring")
} # }