I’ve tried to google this but couldn’t find the proper documentation.
https://platform.zapier.com/cli_docs/docs#dehydration
Successfully implemented - a sample of this code
const content = 'Hello world!';
const url = await z.stashFile(content, content.length, 'hello.txt', 'text/plain');
z.console.log(url);
// https://zapier-dev-files.s3.amazonaws.com/cli-platform/f75e2819-05e2-41d0-b70e-9f8272f9eebf
You create a file thru CLI on your perform method and it returns an s3 link, you can download the file from there. Everybody happy.
My question is, who else has access to this file? Obviously, myself bec I have the link but other can do a scan on that s3 bucket as well. Can they access the file? How long does this file live? Is there a flush method to delete this file ? What if the file have sensitive information? All security question that I would like to understand.