Skip to content

Secrets

Store a tenant credential.

Terminal window
runta secret add [OPTIONS] <NAME>
OptionDescription
--value-env <VALUE_ENV>Read the credential value from this environment variable.
--value-stdinRead the credential value from stdin.
--promptPrompt for the credential value.
--cache-ttl-secs <CACHE_TTL_SECS>Worker credential cache TTL in seconds. Defaults to 0.
Terminal window
runta secret list
runta secret delete <NAME>

Add a runtime-scoped secret injection rule.

Terminal window
runta secret rule add [OPTIONS] [SANDBOX_NAME]
OptionDescription
--host <HOST>Destination host pattern.
--path <PATH>Destination path pattern. Defaults to all paths.
--credential <CREDENTIAL>Stored credential name.
--inject-header <INJECT_HEADER>Header to inject.
--inject-value <INJECT_VALUE>Injected value template. Use ${credential} for the stored value.
-f, --file <FILE>YAML rule file. When using a file, omit [SANDBOX_NAME].
Terminal window
runta secret rule list [SANDBOX_NAME]
runta secret rule delete <ID>