From 9d5f34d963369512e1e81d03a5843dbf591f2df7 Mon Sep 17 00:00:00 2001 From: Scott Sutherland Date: Mon, 23 Sep 2024 10:25:09 -0500 Subject: [PATCH] Create .pgpass --- Scripts/targetconfigs/.pgpass | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Scripts/targetconfigs/.pgpass diff --git a/Scripts/targetconfigs/.pgpass b/Scripts/targetconfigs/.pgpass new file mode 100644 index 0000000..bdff77a --- /dev/null +++ b/Scripts/targetconfigs/.pgpass @@ -0,0 +1,13 @@ +# Format: hostname:port:database:username:password + +# Local database connection +localhost:5432:mydatabase:myuser:mypassword + +# Remote database connection +remote.server.com:5432:anotherdb:anotheruser:anotherpassword + +# Default connection for any database on localhost +localhost:*:*:defaultuser:defaultpassword + +# Wildcard example: Any database and any user connecting to localhost +localhost:*:*:*:supersecretpassword