Reads Databricks CLI Config
read_databrickscfg(key = c("token", "host", "wsid"), profile = NULL)
named list of values associated with profile
The value to fetch from profile. One of token
, host
, or wsid
Character, the name of the profile to retrieve values
Reads .databrickscfg
file and retrieves the values associated to
a given profile. Brickster searches for the config file in the user's home directory by default.
To see where this is you can run Sys.getenv("HOME") on unix-like operating systems,
or, Sys.getenv("USERPROFILE") on windows.
An alternate location will be used if the environment variable DATABRICKS_CONFIG_FILE
is set.