Retrieving Metadata Service (MDS) endpoints and credentials
IBM® watsonx.data integrates with multiple entities like Spark, Db2, NPSaaS, and the like. You require watsonx.data MDS credentials and enpoint to establish connection with the entities at the time of integration.
MDS username is by default ibmlhapikey.
Starting with watsonx.data version 2.2.0, authentication using ibmlhapikey and ibmlhtoken as usernames is deprecated. These formats are phased out in 2.3.0 release. To ensure compatibility with upcoming versions, use
the new format:ibmlhapikey_<username> and ibmlhtoken_<username>.
Generating API key
-
As the watsonx.data administrator, you can:
Permission required for watsonx.data are
MetastoreAdminin Service access and appropriate roles in Platform access. -
Generate an API key. for more information, see:
Getting the MDS endpoint
-
Log in to watsonx.data console.
-
From the navigation menu, select Infrastructure manager.
-
Select the catalog.
-
Click Details to view the catalog details page.
-
Copy the endpoint:
- Metastore Thrift endpoint: This is your Hive interface endpoint for thrift.
- Metastore REST endpoint: Use this for Unity and Iceberg Catalog REST API.
You can retrieve the endpoints using API. For more information, see Get catalog API.