Add Choreo-Managed Databases and Caches to the Marketplace¶
When you create a Choreo-managed database or cache, you can add it to the Marketplace, making it available for consumption through a connection.
Note
To add a Choreo-managed database or cache to the Marketplace, you must register at least one credential for it.
Step 1: Register credentials¶
When you create a database or cache server, you get super admin credentials by default. You can use these credentials to create new user credentials. The steps to create new user credentials depend on the type of database or cache you are using.
You can register either the default super admin credentials or any custom credentials you create using the super admin credentials.
To register credentials for a database, follow these steps:
- Sign in to the Choreo Console.
- Go to the Choreo Console header and select your organization from the Organization list.
- In the left navigation menu, click Dependencies and then click Databases.
- Click on a required database to view its details.
- Click the Databases tab.
- Click to expand the database for which you want to register credentials, then click Add Credentials.
- In the Add Credentials dialog, do one of the following depending on your requirements:
- If you want to use the custom credentials you created using the super admin credentials, select Add New Credentials and specify appropriate values for each field.
- If you want to use the default super admin credentials, select Add Super Admin Credentials and specify appropriate values for each field.
- Click Save.
Tip
Choreo allows you to delete registered credentials to prevent their use when establishing new connections. However, deleting credentials will not affect any existing database connections that are already using them.
Step 2: Add the database or cache to the Marketplace¶
- On the Databases tab, click +Add to Marketplace corresponding to the database you want to add.
Once the database is added to the Marketplace, it can be consumed via a connection. For details on creating a connection to a Choreo-managed database, see Create a connection to a database.
Note
To remove a database or cache that you added to the Marketplace, click the corresponding Remove from Marketplace. This action prevents new connections to the removed database, but existing connections remain unaffected.
For details on using a database connection in your component, see Use a Database Connection in Your Component.