Learn R Programming

brickster (version 0.2.6)

read_env_var: Reads Environment Variables

Description

Reads Environment Variables

Usage

read_env_var(key = c("token", "host", "wsid"), profile = NULL, error = TRUE)

Value

named list of values associated with profile

Arguments

key

The value to fetch from profile. One of token, host, or wsid

profile

Character, the name of the profile to retrieve values

error

Boolean, when key isn't found should error be raised

Details

Fetches relevant environment variables based on profile