| foundry_set_token | R Documentation |
Set a Microsoft Entra ID bearer token for keyless authentication. API keys remain supported, but Microsoft recommends keyless authentication for production workloads.
foundry_set_token(token, store = FALSE, scope = c("resource", "project"))
token |
Character string containing a bearer token. Do not include the
|
store |
Logical. If |
scope |
Character. Endpoint family for the token: |
Invisibly returns TRUE if the token was set successfully.
withr::with_envvar(c(AZURE_FOUNDRY_TOKEN = NA_character_), {
foundry_set_token("eyJ0eXAiOiJKV1QiLCJhbGciOi...")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.