Accessing Snowflake data warehouse
Access the Snowflake data warehouse, and connect to IBM® Cognos® Analytics, Tableau, Microsoft Excel, and Power® BI for analysis and reporting.
Before you begin
- Check that you have administrator-level privileges to install drivers and softwares.
- Open a command terminal and use one of the following commands to generate a private key. Store
the private key in a secure location.
- For unencrypted private key, use following
command.
openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out rsa_key.p8 -nocrypt - For encrypted private key, use following
command.
openssl genrsa 2048 | openssl pkcs8 -topk8 -v2 des3 -inform PEM -out rsa_key.p8
Note: The private key is stored in filersa_key.p8, but you can specify a different file name with.p8extension. - For unencrypted private key, use following
command.
- Use the following command to generate the public key by using the private key. Replace
rsa_key.p8with the appropriate private key file.openssl rsa -in rsa_key.p8 -pubout -out rsa_key.pub - Share the public key with the IBM Maximo® Renewables team.
- You receive a region-specific Snowflake URL and credentials from the Maximo
Renewables team. For example,
https://<region>.snowflakecomputing.com/ - Download and install the Snowflake ODBC driver. For more information, see https://docs.snowflake.com/en/developer-guide/odbc/odbc-download.
- Configure the Snowflake ODBC driver to implement key pair authentication. In the
Snowflake Configuration dialog, enter the following details.
- In the Data Source field, enter a name to identify the data source.
- In the User field, enter your login ID.
- Leave the Password field empty.
- In the Server field, enter the region-specific URL for Snowflake, for
example
<region>.snowflakecomputing.com. Replace<region>with the appropriate detail as provided by the Maximo Renewables team. - In the Database field, enter the database name
- From the Schema list, select the schema.
- From the Warehouse list, select the warehouse.
- From the Role list, select the role.
- In the Authenticator field, enter
SNOWFLAKE_JWT. - Click OK. For more information on configuration, see https://docs.snowflake.com/en/developer-guide/odbc/odbc