docker-wyze-bridge icon indicating copy to clipboard operation
docker-wyze-bridge copied to clipboard

How to escape password?

Open talormanda opened this issue 9 months ago • 1 comments

The documentation states:

"This is similar to the docker run command, but will save all your options in a yaml file. (If your credentials have special characters, you must escape them)"

if my credentials are:

- WYZE_PASSWORD=pass!wor@d

What do I do to "escape" them? Quotes? Double quotes? I have tried everything but I still get a failed / error message. I am using Portainer.

talormanda avatar Nov 17 '23 11:11 talormanda

I don't think ! and @ need to be escaped:

- SPECIAL_CHAR=pass!wor@d

will be:

'SPECIAL_CHAR': 'pass!wor@d'

I believe some characters like $ can be escaped by doubling the character:

- SPECIAL_CHAR=pa$$$$word

would be:

'SPECIAL_CHAR': 'pa$$word'

mrlt8 avatar Nov 18 '23 03:11 mrlt8