-
Notifications
You must be signed in to change notification settings - Fork 405
Authentication PostgreSQL Pgpass
CloudBeaver is fully compatible with the PgPass authentication method, offering a secure way to access your PostgreSQL databases. Only an admin can create a PgPass connection.
PostgreSQL's PgPass method allows authentication using credentials stored in a .pgpass
file. Follow the steps below to
configure it in a CloudBeaver.
-
Create the
.pgpass
file. Each line in the file follows the format:hostname:port:database:username:password
Save this line in the
.pgpass
file and ensure the file permissions are set to be readable only by the user.Tip: For more information on
.pgpass
, see PostgreSQL documentation. -
Open a terminal and run the following command to list Docker containers:
docker ps
-
Copy the ID of the CloudBeaver container from the list.
-
Transfer the
.pgpass
file to the container:docker cp .pgpass "<container-id>":/root/.pgpass
Note: This command is for Linux systems. Ensure the
.pgpass
file is placed in the/root
directory.
After transferring the .pgpass
file to the container, follow these steps to finalize the configuration:
- Open CloudBeaver and start creating a connection.
- In the Authentication dropdown menu, select PostgreSQL PgPass.
- Enter the username associated with the PostgreSQL database in the Username field.
- Test the connection by clicking the Test button. If the
.pgpass
file is properly configured and the credentials are correct, CloudBeaver will connect successfully.
- Application overview
- Demo Server
- Administration
- Server configuration
- Create Connection
- Network configuration settings
- Connection Templates Management
- Access Management
-
Authentication methods
-
Local Access Authentication
- Anonymous Access Configuration
- Reverse proxy header authentication
- LDAP
-
Single Sign On
-
SAML
-
OpenID
-
AWS OpenID
-
AWS SAML
-
AWS IAM
-
AWS OpenId via Okta
-
Snowflake SSO
-
Okta OpenId
-
Cognito OpenId
-
JWT authentication
-
Kerberos authentication
-
NTLM
-
Microsoft Entra ID authentication
-
Google authentication
-
Local Access Authentication
- User credentials storage
-
Cloud Explorer
-
Cloud storage
-
Query Manager
-
Drivers Management
- Supported databases
- Accessibility
- Keyboard shortcuts
- Features
- Server configuration
- CloudBeaver and Nginx
-
Domain manager
- Configuring HTTPS for Jetty server
- Command line parameters
- Local Preferences
- API
-
CloudBeaver Community
-
CloudBeaver AWS
-
CloudBeaver Enterprise
-
Deployment options
-
Development