Snowflake Data Cloud Connector > Part I: Getting Started with Snowflake Data Cloud Connector > Connections for Snowflake Data Cloud > Prepare for authentication
  

Prepare for authentication

You can configure standard, authorization code, key pair, and client credentials authentication types to access Snowflake.
Before you configure the connection properties, you need to keep the authentication details handy based on the authentication type that you want to use.

Standard

To connect to Snowflake using standard authentication, you need the Snowflake account user name and password.
Let's get the required details such as the Snowflake account name, warehouse, and role details from the Snowflake account.
The following image shows you where you can find the name of your Snowflake account:
The Snowflake account name that you can get from the from the first part of the URL.
The following image shows you where you can find the name of the warehouse and role details of your Snowflake account:
The values for the User Role and Warehouse name fields are available on the Worksheet tab.

Authorization code

To connect to Snowflake using the OAuth 2.0 authorization code, you need the Snowflake client ID, authorization URL, access token URL, and access token.
To get the authorization details, you need to create an authorization integration in Snowflake, and register the Informatica redirect URL in Security Integration. Security Integration is a type of integration that enables clients that support OAuth to redirect users to an authorization page and generate access tokens, and optionally, refresh tokens to access Snowflake.
Register the following Informatica redirect URL in Security Integration:
https://<Informatica cloud hosting facility for your organization>/ma/proxy/oauthcallback
If the access token expires, Informatica redirect URL, which is outside the customer firewall, tries to connect to the endpoint and retrieves a new access token.
For more information about how to create a security integration and get the authorization details, see Create security integration in the Snowflake documentation.
Note: You can't use connections configured with the authorization code authentication in mappings configured in advanced mode.

Key pair

To connect to Snowflake using key pair authentication, you need the private key file and private key file password, along with your Snowflake account user name.
Generate the public and private key pair using OpenSSL. The key pair authentication method requires a 2048-bit RSA key pair. Specify the path to the private key file and password in the connection properties to access Snowflake.

Client credentials

To connect to Snowflake using OAuth 2.0 client credentials, you need your Snowflake client ID, access token URL, client secret, scope, and the access token.
Configure the OAuth endpoint with the client credentials grant type and then create a security integration to get the authorization details.
Before you use the client credentials authentication to connect Snowflake, the organization administrator needs to perform the prerequisite tasks.
  1. 1Create a client application that is compatible with OAuth to use with Snowflake.
  2. 2Configure the authorization server with the client credentials Grant type.
  3. 3Create a security integration of type OAuth in Snowflake.
  4. For more information about how to create a security integration and get the authorization details, see Create security integration for external OAuth in the Snowflake documentation.
Note: You can't use connections configured with the client credentials authentication in mappings configured in advanced mode.