I tried uploading a file as so:
guest_path = "/path/to/hello.txt"
raw_value = "foo"
According to the docs,
The contents of both
secret_name must be base64 encoded.
But when I tried this, the raw value was uploaded without base64 decoding.
Posting here since I’m not sure if it’s a bug in the docs, or maybe at some point in the past there was base64 decoding of
raw_values but no longer?
So you’ve tried setting
raw_value = "Zm9vCg==" and it wasn’t decoded to
Just tested again:
$ tail -n 3 fly.staging.sftp.toml
guest_path = "/tmp/hello.txt"
raw_value = "Zm9vCg=="
$ fly deploy -c fly.staging.sftp.toml
$ fly ssh console -a appname --pty -C "cat /tmp/hello.txt"
Ok, thanks for the report as it is definitely a regression.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.