Enterprise Postgres 17 SP1 オペレーターユーザーズガイド
E.4.3 認証情報ファイルの内容をエンコードする
cat credentials | base64 -w 0