Sensitive properties and passwords should not be stored in plain text. Modern approaches are to store sensitive information as encrypted secrets. To manage the lifecycle of a secret e.g updates and secret injection, secret management solutions are available.
Discover the components of a comprehensive CI/CD Platform and the benefits throughout the software delivery lifecycle.
Secrets, as the word says, are things that exist but only very few should know about.