When specifying string values in the CLI, the following rules apply:
Strings containing spaces must be delimited by either single or double quotes. For example:
"This is my string with spaces"
Or alternatively:
'This is my string with spaces'
The backslash "\" character can be used to escape single or double quotes within a quoted string. For example:
"This is my quoted \'string\' with backslashes"
The above rules apply to all string values specified within the CLI, including passwords.