Use this function to create a key which this package can use by default to
encrypt/decrypt your secrets. vault
will read its default key from the
VAULT_KEY
environment variable.
Other packages can get a similar behavior for their own package by
using use_pkg_key()
and read_pkg_key()
.
1 2 3 4 5 | use_vault_key(scope = c("user", "project"))
use_pkg_key(pkg, envvar, scope = c("user", "project"))
read_pkg_key(envvar)
|
scope |
Edit globally for the current user, or locally for the current project |
pkg |
Name of package |
envvar |
Name of environment variable to use |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.