SnowflakeConnectionService

Description

Provides pooled database connections to Snowflake services

Choosing an authentication strategy

Set Authentication Strategy to Snowflake Managed Token in both Openflow Snowflake Deployments and BYOC deployments. With this strategy, the runtime obtains and refreshes the token that the service uses to connect to the Snowflake account that hosts the runtime, so you don’t manage credentials yourself. Set Role and Warehouse to the role and warehouse that the flow needs. For more information, see Snowflake Managed Token authentication.

Use Key Pair only when the runtime must send data to a different Snowflake account than the one that hosts it.

Note

The properties marked as required in the following table apply to the Password and Key Pair authentication strategies. When Authentication Strategy is Snowflake Managed Token, the Account, User, Password, and Private Key Service properties aren’t used, and you can leave them blank.

Tags

connection, database, jdbc, openflow, snowflake

Properties

In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Account *AccountSnowflake Account Identifier with Organization Name and Account Name formatted as [organization-name]-[account-name]
Authentication Strategy *Authentication StrategyPASSWORD
  • Password
  • Key Pair
  • Snowflake Session Token
Strategy for authenticating Snowflake connections
Connection Strategy *Connection StrategySTANDARD
  • Standard
  • Private Connectivity
Strategy for connecting to Snowflake services
Connection Timeout *Connection Timeout30 secondsMaximum amount of time to wait for a connection from a reusable pool
Database NameDatabase NameDefault Snowflake Database for connections
Idle Timeout *Idle Timeout10 minutesMaximum amount of time for a connection to remain idle in a reusable pool
Maximum Connections *Maximum Connections10Maximum number of connections created and managed in a reusable pool
Maximum Lifetime *Maximum Lifetime30 minutesMaximum lifetime for each connection in a reusable pool
Password *PasswordSnowflake Password for authenticating connections
Private Key Service *Private Key ServiceRSA Private Key Service for authenticating connections
RoleRoleDefault Snowflake Role for connections
SchemaSchemaDefault Snowflake Schema for connections
User *UserSnowflake User for authenticating connections
WarehouseWarehouseDefault Snowflake Warehouse for connections

State management

This component does not store state.

Restricted

This component is not restricted.

System Resource Considerations

This component does not specify system resource considerations.