Skip to content

Read and Write to Files on Enclave #725

Answered by mieubrisse
shreyasbhat0 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @shreyasbhat0 , thanks for the patience while we were at QCon!

Re. files storage - files artifacts are the closest approximation we have to this; they're basically .tgz files that get stored on the enclave itself. So if you create a files artifact in any way (e.g. plan.store_service_files, plan.upload_files, or plan.render_templates), those files will persist in the enclave for as long as the enclave exists. This means that those files can exist and be used anywhere from that point onwards.

E.g. this is an enclave with a files artifact called my-files-artifact that can be used by all Starlark executing against that enclave (even if the Starlark isn't the same Starlark that created the…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mieubrisse
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