Database credentials, and passwords, in particular, can easily contain characters that are reserved in YAML and must be quoted. Example: a case with a password starting with ']'.