goofys icon indicating copy to clipboard operation
goofys copied to clipboard

How to specify options other than CLI?

Open cantonese84 opened this issue 6 years ago • 4 comments

For example, specifying the value for --sse-c at the command line would expose the value to commands such as ps. Is there another way (i.e. config file or environment variables)?

cantonese84 avatar Sep 04 '19 21:09 cantonese84

it's not currently possible. goofys should probably support the same aws cli convention (ie: file:// and fileb://). Could you submit a PR?

kahing avatar Sep 04 '19 23:09 kahing

I am not familar with AWS file:// and fileb:// convention, but it looks like file:// expects the file content to be base64 encoded (i.e. same as CLI value), while fileb:// expects non-encoded?

cantonese84 avatar Sep 05 '19 13:09 cantonese84

ah I meant to include this link: https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters.html#cli-usage-parameters-file

I believe the difference is purely about whether to open the file as binary or text, which only really makes a difference in Windows. I think just supporting file:// is sufficient.

kahing avatar Sep 05 '19 17:09 kahing

Was any work done towards this that I've missed? This would be super useful for me, and I might try and do some towards it myself, but I want to check I wouldn't be duplicating work.

mashedkeyboard avatar Jun 24 '21 08:06 mashedkeyboard