| az_set_chain_secret | R Documentation |
Creates or replaces a DuckDB Azure secret using the credential_chain
provider. This lets DuckDB resolve credentials itself, for example from the
Azure CLI or environment.
az_set_chain_secret(conn, account = NULL, chain = "default")
conn |
A DuckDB connection. |
account |
Optional storage account name. When supplied, the secret is scoped to that account. |
chain |
Optional character vector of DuckDB credential-chain entries.
Values are joined with semicolons and passed as DuckDB's |
Invisibly returns conn.
## Not run:
# Requires a live Azure account, credentials, and network access.
conn <- az_conn()
az_set_chain_secret(conn, chain = "cli")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.