Skip to content

Invoke step by id - Encryption middleware #194

Answered by amh4r
dvuletas asked this question in Q&A
Discussion options

You must be logged in to vote

That currently isn't possible with inngest.experimental.encryption_middleware, but we'll likely add it in the future! We're still gathering more use cases before making big changes.

In the meantime, you could copy inngest.experimental.encryption_middleware into your codebase and modify it to suit your needs.

Here's where it encrypts invoke data:
https://github.com/inngest/inngest-py/blob/main/inngest/experimental/encryption_middleware.py#L282

You could maybe add a new invoke_encryption_field constructor arg and do something similar to this:
https://github.com/inngest/inngest-py/blob/main/inngest/experimental/encryption_middleware.py#L235-L240

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dvuletas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants