Description Usage Arguments Value Examples
Add a named list of secrets into the keyvault associated with the workspace.
1 | set_secrets(keyvault, secrets)
|
keyvault |
The |
secrets |
The named list of secrets to be added to the keyvault, where element name corresponds to the secret name. |
None
1 2 3 4 5 6 7 | ## Not run:
ws <- load_workspace_from_config()
my_secret <- Sys.getenv("MY_SECRET")
keyvault <- get_default_keyvault(ws)
set_secrets(list("mysecret" = my_secret))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.