can't add secrets via cli because password contains symbols

noob trying to deploy a phoenix app to fly

when I try to add secrets via the CLI

fly secrets set DATABASE_URL="postgres://"

I get back bash: !gRF44@aws: event not found

after some testing I discovered that the problem is the password which contains a symbol ‘!’

any suggestions on how to get around this?

Hi ronen, this is a bash error – your double quotes have bash still parse some sigils, like the exclamation mark. Use single quotes.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.