Skip to content

Commit 7371d7b

Browse files
authored
add OrgId to WorkflowExecution and SecretsRequestParams (#1975)
Bump chainlink-protos to cre-sdk/v1alpha.20 which adds org_id to the WorkflowExecution proto. Add OrgID to the confidential relay SecretsRequestParams so the enclave can forward it to VaultDON for org-based secret ownership.
1 parent de8ab63 commit 7371d7b

4 files changed

Lines changed: 24 additions & 12 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ require (
4343
github.com/smartcontractkit/chain-selectors v1.0.89
4444
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10
4545
github.com/smartcontractkit/chainlink-protos/billing/go v0.0.0-20251024234028-0988426d98f4
46-
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260326111235-8c09d1a4491f
46+
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260409211238-5b99921cbc7c
4747
github.com/smartcontractkit/chainlink-protos/linking-service/go v0.0.0-20251002192024-d2ad9222409b
4848
github.com/smartcontractkit/chainlink-protos/node-platform v0.0.0-20260205130626-db2a2aab956b
4949
github.com/smartcontractkit/chainlink-protos/storage-service v0.3.0

go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/capabilities/v2/actions/confidentialrelay/types.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ type SecretIdentifier struct {
1616

1717
// SecretsRequestParams is the JSON-RPC params for "confidential.secrets.get".
1818
type SecretsRequestParams struct {
19-
WorkflowID string `json:"workflow_id"`
20-
Owner string `json:"owner"` // Ethereum address (hex, 0x-prefixed)
21-
ExecutionID string `json:"execution_id"` // 32 bytes, hex-encoded
22-
Secrets []SecretIdentifier `json:"secrets"`
23-
EnclavePublicKey string `json:"enclave_public_key"`
24-
Attestation string `json:"attestation,omitempty"`
19+
WorkflowID string `json:"workflow_id"`
20+
Owner string `json:"owner"` // Ethereum address (hex, 0x-prefixed)
21+
ExecutionID string `json:"execution_id"` // 32 bytes, hex-encoded
22+
OrgID string `json:"org_id,omitempty"` // Organization identifier for org-based secret ownership
23+
Secrets []SecretIdentifier `json:"secrets"`
24+
EnclavePublicKey string `json:"enclave_public_key"`
25+
Attestation string `json:"attestation,omitempty"`
2526
}
2627

2728
// SecretEntry is a single secret in the relay DON's response.

pkg/capabilities/v2/actions/confidentialworkflow/client.pb.go

Lines changed: 14 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)