ssh console -C outputs \r

importing secrets from a file seems to insert newlines at the end of each secret

> fly ssh console -C 'echo 1' | cat -A -
1^M$

if you use fly ssh console -C env > secrets, make changes, and then cat secrets | fly secrets import, you will end up with \r at the end of your secrets

1 Like