Create .pgpass

This commit is contained in:
Scott Sutherland 2024-09-23 10:25:09 -05:00 committed by GitHub
parent 6c494a6709
commit 9d5f34d963
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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