fused secrets
Manage kernel secrets available inside UDFs at runtime.
fused secrets [SUBCOMMAND] [OPTIONS]
User secrets (your personal credentials, set via the Workbench UI) are read-only from the CLI — --user is only valid on get and list.
Subcommands
| Subcommand | Description |
|---|---|
set KEY VALUE | Create or update a secret |
get KEY | Print a secret's value |
list | List all secrets |
delete KEY | Delete a secret |
All subcommands accept --client-id TEXT to scope the operation to a specific canvas client.
fused secrets set
fused secrets set MY_API_KEY "abc123"
fused secrets get
fused secrets get KEY [OPTIONS]
| Flag | Description |
|---|---|
--user | Read from user secrets (read-only) |
--client-id TEXT | Scope to a specific client |
fused secrets get MY_API_KEY
fused secrets get MY_KEY --user
fused secrets list
fused secrets list [OPTIONS]
| Flag | Description |
|---|---|
--user | List user secrets (read-only) |
--client-id TEXT | Scope to a specific client |
fused secrets list
fused secrets list --user
fused secrets delete
fused secrets delete MY_API_KEY
note
Secrets set via the CLI are available inside UDFs as fused.secrets["MY_API_KEY"]. See Secrets management for how to use secrets inside UDFs.
See also
- Secrets management — how to access secrets inside UDFs at runtime
- Integrations & Secrets — manage secrets via the Workbench UI