Skip to main content

Module secret

Module secret 

Source
Expand description

Secrets in DAG JSON: which secret a reference names, and the secrets a task declares (see archive/PROJECT.md, Secret storage).

A secret is path#key in a storage, like a Vault KV v2 secret’s key; path alone is the whole secret (every key). The storage is named, or left out for the default one. Only the names travel: the agent that runs a task fetches the values, never the master.

Structs§

SecretName
A secret in a storage: path#key, or path for the whole secret.

Enums§

SecretDecl
A secret a task declares in secrets=: one it may read on demand (schedr task-ctx secret get, task_ctx.secret(...)), fetched before its process starts, or a prefix covering every secret under it, fetched when read.

Functions§

check_storage_name
Checks a storage’s name: the key of its [secret_storage.<name>] table.