Store and retrieve credentials using environment variables.
meetupr_key_set(key, value, client_name = get_client_name())meetupr_key_get(key, client_name = get_client_name(), error = TRUE)
meetupr_key_delete(key, client_name = get_client_name())
meetupr_key_set() and meetupr_key_delete() return
NULL (invisibly), and meetupr_key_get() returns a
character string or NA.
Key name: "client_key", "client_secret", "encrypt_path",
"encrypt_pwd", "jwt_token" or "jwt_issuer".
Value to be stored.
A string representing the name of the client. By
default, it is set to "meetupr" and retrieved from the
MEETUPR_CLIENT_NAME environment variable.
Throw error if key not found. Default TRUE.
meetupr_key_set(): Store a key in environment variables
meetupr_key_get(): Retrieve a key from environment variables
meetupr_key_delete(): Delete a key from environment variables
This is an alias of meetupr_credentials with hyphenated envvar names.
Credentials are stored as environment variables with the pattern
{client_name}-{key} (e.g., meetupr-client_key).
client_key: OAuth client ID
client_secret: OAuth client secret
encrypt_path: Path to encrypted token file
encrypt_pwd: Password for encrypted token
jwt_token: JWT token for service account authentication
jwt_issuer: JWT issuer, Meetup account number