-
Notifications
You must be signed in to change notification settings - Fork 24
[Hold][WIP] Workflow Endpoint: how to encrypt secrets #670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some comments! I can add a commit to this branch to update the code samples once the new certificate flow is ready. Some other thoughts:
- I think the pattern of showing redacted on the encrypted text is a bit noisy. It's instructive to show the
---BEGIN PUBLIC KEY---
headers and such, but the other text will always be garbled nonsense, so there's nothing to "hide". Maybe just ellipses?
{
"encrypted_aes_key": "x3+......9zD",
"aes_iv": "k2N......g==",
"encrypted_value": "gM1......A2m",
"type": "rsa_aes"
}
See this notebook for an updated flow once https://github.com/Unstructured-IO/platform-api/pull/544 is merged. The response from |
Co-authored-by: Austin Walker <[email protected]>
Work in progress. Still waiting for renamed "retrieve" endpoint, and certificate signing.
For now, see: