Configuring Authentication for Astra Databases

To connect to an Astra database, you must authenticate your connection by providing a user name, password, and secure connection bundle.

To obtain the secure connection bundle associated with your Astra database, download it from the DataStax Constellation console. For more information, see "Obtaining database credentials" in the DataStax Astra documentation: https://docs.datastax.com/en/astra/aws/doc/dscloud/astra/dscloudObtainingCredentials.html.

To configure authentication for Astra databases:

  1. Set the AuthMech property to 2.
  2. Set the UID property to the user name associated with the database.
  3. Set the PWD property to password corresponding to the user name you provided above.
  4. Set the SecureConnectionBundlePath property to the full path and name of the secure connection bundle associated with your Astra database. To make sure that the DSN or connection string is compatible with all ODBC applications, escape the backslashes (\) in your file path by typing another backslash, for example, C:\\temp.
  •  
  • Configuring the Driver on page 1