Skip to main content

Authenticate to AlloyDB

After you add the connector, you need to set the required properties.
  • Server: Enter the host name or the IP address of the server that hosts the AlloyDB database. The default host name is localhost.
  • User: Enter the username that you use to authenticate to the AlloyDB server.
supports authenticating to AlloyDB in several ways. Select your authentication method below to proceed to the relevant section that contains the authentication details.

Password

To connect with your user credentials, set the following properties:
  • Auth Scheme: Select Password.
  • Password: Enter the password that you use to authenticate to your AlloyDB account.

OAuth

Complete Your Connection

To complete your connection:
  1. Specify the following properties:
    • (Optional) Database: Enter the database that you want to connect to when you connect to the AlloyDB server. If you do not specify a database, uses the default database.
    • (Optional) Port: Enter the port number of the server that hosts the AlloyDB database. The default port value is 5432.
  2. Define advanced connection settings on the Advanced tab. (In most cases, though, you should not need these settings.)
  3. If you authenticate with OAuth, click Connect to AlloyDB to connect to your AlloyDB account.
  4. Click Create & Test to create your connection.