Store secrets using write_secret()
and retrieve them using read_secret()
.
1 2 3 4 5 6 7 8 9 10 | read_secret(service, name, ..., key = read_vault_key(), app = "vault")
write_secret(
service,
name,
secret = ask_secret(),
...,
key = read_vault_key(),
app = "vault"
)
|
service |
A service that the secret is meant for i.e. what is it for? |
name |
The secret type i.e. what type of secret is it? |
... |
This argument is not used and the function will error if any values are provided |
key |
The key used to encrypt/decrypt the secret |
app |
The entity which is managing the secret |
secret |
The secret value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.