Enterprise Postgres 18 for Kubernetes User's Guide
E.4.3 Encode the credentials content
cat credentials | base64 -w 0