Connecting to IBM Cloud Object Storage in Watson Query
The IBM Cloud Object Storage connector requires specific information to create a connection to it in Watson Query.
For more information, see Data sources in object storage in Watson Query.
Before you begin
To access data that is stored in Cloud Object Storage, you must create a connection to the data source where the files are located. Watson Query integrates with object storage connections and supports PARQUET (or PARQUETFILE), Optimized Row Columnar (ORC), comma-separated values (CSV), tab-separated values (TSV), and JSON data formats. All other file formats are not supported.
Procedure
To connect to IBM Cloud Object Storage in Watson Query, follow these steps.
Authenticating for Watson Query object storage connections is standard for all supported platforms.
On the navigation menu, click Data sources page by default.
. The service menu opens to theClick Watson Query.
to see a list of data sources that can be added to-
Select the Cloud Object Storage data source connection.
-
Enter the connection name and description.
-
To configure a Cloud Object Storage connection, you must provide values for the following parameters.
- Bucket
- Endpoint URL
- Access key
- Secret key
-
To find the values for the Access key and Secret key, follow these steps.
Note: The Secret key field is not enabled until you enter an Access key.- Go to the Cloud Object Storage Resource list at https://cloud.ibm.com/resources.
- Expand the Storage resource.
- Click the Cloud Object Storage service, and then click Service credentials.
- Expand the Key name that you want to use. Copy the following values without the quotation marks.
- Access key:
access_key_id
- Secret key:
secret_access_key
- Access key:
For more information, see Service credentials.
-
Click Create to add the connection to the data source environment.