webify
webify copied to clipboard
Webify service for encrypting files
I would like to webify a service for encrypting files (oversimplification, but let's just say they are short yaml files to be encrypted).
The way I envision interacting with webify is to curl it with:
- the
keyto be used in encryption (a separate file). - the
yamlto be encrypted.
Something like:
curl \
-F "key=@/home/me/key" \
-F "input_yaml=@/home/me/input.yaml" \
localhost:8080
How do I store the key and input.yaml files on the backend side to start the process?