-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem
Secrets sent by the Inngest executor in CallRequestPayload.Secrets are parsed but never exposed to functions. The SDK has a _secrets dictionary that's only populated via RegisterSecret(), but secrets from the executor are ignored.
Location: Inngest/InngestClient.cs:1110-1201 (HandleCallRequest)
The payload.Secrets field is never read or passed to InngestContext.
Expected Behavior
Functions should be able to access secrets via context.GetSecret("key") or similar API, where secrets are sourced from:
- The executor's
CallRequestPayload.Secrets - Locally registered secrets via
RegisterSecret()
SDK Spec Reference
This blocks the SDK_SPEC "secrets" capability.
Suggested Implementation
- Add a
Secretsproperty toInngestContext - Merge
payload.Secretswith locally registered secrets when building context - Provide a
GetSecret(string key)method
Priority
Medium - required for full SDK spec compliance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request