| db_token | R Documentation |
The function will check for a token in the DATABRICKS_HOST environment variable.
.databrickscfg will be searched if db_profile and use_databrickscfg are set or
if Posit Workbench managed OAuth credentials are detected.
If none of the above are found then will default to using OAuth U2M flow.
Refer to api authentication docs
db_token(profile = default_config_profile())
profile |
Profile to use when fetching from environment variable
(e.g. |
The behaviour is subject to change depending if db_profile and
use_databrickscfg options are set.
use_databrickscfg: Boolean (default: FALSE), determines if credentials
are fetched from profile of .databrickscfg or .Renviron
db_profile: String (default: NULL), determines profile used.
.databrickscfg will automatically be used when Posit Workbench managed OAuth credentials are detected.
See vignette on authentication for more details.
databricks token
Other Databricks Authentication Helpers:
db_host(),
db_read_netrc(),
db_wsid()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.