Recover the OAuth storage slice from f6079e9d and the missing workflow persistence error handling from f07c314e, adapted to the current step contract. Require encryption for OAuth token storage and verify RPC round trips and task-grant denial.
12 lines
253 B
SQL
12 lines
253 B
SQL
-- +goose Up
|
|
CREATE TABLE harness_secrets (
|
|
org TEXT NOT NULL,
|
|
service TEXT NOT NULL,
|
|
secret_enc TEXT NOT NULL,
|
|
updated_at TIMESTAMPTZ NOT NULL DEFAULT now(),
|
|
PRIMARY KEY (org, service)
|
|
);
|
|
|
|
-- +goose Down
|
|
DROP TABLE harness_secrets;
|