| 4ac01a73 Andy McCall ↶ | 1 | -- Secrets for OxygenFlow jobs (hub spec §13.2, #107), per level like |
| 2 | -- flow_variables. A job gets only the secrets its pipeline declares by |
|
| 3 | -- name, as files Flow mounts (OxygenFlow spec §9), never in the |
|
| 4 | -- environment. Values are sealed with keys/secrets.key. |
|
| 5 | ( |
|
| 6 | scope TEXT NOT NULL CHECK (scope IN ('site', 'org', 'repo')), |
|
| 7 | scope_id INTEGER NOT NULL DEFAULT 0, |
|
| 8 | name TEXT NOT NULL, |
|
| 9 | value BLOB NOT NULL, |
|
| 10 | updated_ms INTEGER NOT NULL, |
|
| 11 | PRIMARY KEY (scope, scope_id, name) |
|
| 12 | ); |