Open s-fleck opened 4 years ago
Can you compress the file first, and then add it to the vault?
in my case it's a data.frame with confidential data. sure I could probably serialize it zipped, read it as a raw binary vector or something and put that in a secret. that's kinda hackish though and it would be nice if it was supported directly by secret.
sorry for the accidental opening and closing of the issue BTW, I'm on my phone
Yeah, it would make sense to compress it I guess. We could saveRDS()
it into a connection in memory.
Would it be possible to support compression for secrets (similar to the different compression algorithms supported by saveRDS?). I sometimes have to store sensitive datasets inside packages in a setting where file size matters (a bit).