Working with secure connect bundle
Downloading secure connect bundle
To connect to your Astra DB database using the drivers, download the secure connect bundle from the DataStax Astra Portal that contains the connection credentials.
-
Open your Astra Portal and select your database.
-
On the Overview page, select Connect.
-
In the Select a Method section, select Drivers and then Native from the dropdown menu to select your driver type from the list to load language-specific instructions.
Java is available as a Legacy, Native, and Cloud driver. Node.js is available as Native and Cloud drivers. Python is available as Legacy and Native drivers.
If you have multiple regions, select the region you want to connect to from the dropdown menu for instructions.
The bundle URL is the same for all languages.
-
Click Download Bundle.
If you have multiple regions, you will have the option to download a bundle for each region from the expanded Download Bundle drop-down menu.
The secure-connect-database_name.zip
file downloads, which contains the security certificates and credentials for your database.
Sharing secure connect bundle
Although teammates can access your Astra DB database, it will not display in their list of available databases under My Databases in Astra Portal.
After you create an Astra DB database, you can grant access to other members of your team by providing them with the database credentials and connection details for your database.
Be careful when sharing connection details. Providing this information to another user grants them access to your Astra DB database and ownership capabilities, such as making modifications to the database. For security, delete downloaded connection credentials after sending them to your teammate. |
Secure connect bundle contents
The Secure Connect Bundle (SCB) contains the following files:
File | Contents |
---|---|
|
DataStax’s Certificate Authority public certificate |
|
A certificate, unique to the specific SCB |
|
A private key, unique to the specific SCB |
|
A PFX formatted archive containing the certificate and the private key |
|
A configuration file with information on how to securely connect to the Astra DB instance associated with the SCB |
|
A CQLSH profile containing CQL shell session settings |
|
A Java keystore file containing the aforementioned cert & key files |
|
A Java keystore file containing the aforementioned ca.crt |