Skip to main content

Module vault

Module vault 

Source
Expand description

Read and write secrets in the workforce vault.

All paths are automatically scoped to wasm-skills/{skill_name}/ — you only need to provide the key name relative to your skill.

Requires the vault capability in your Skill.toml.

Functions§

get
Get a secret by key. Returns None if the key doesn’t exist.
set
Set a secret. Returns true on success.