Snowflake is phasing out password-based authentication. To connect to Snowflake, use a public/private key pair or a programmatic access token (PAT) instead of a password.
Key Pair Authentication
- Generate a public/private key pair by following Snowflake's key pair authentication guide. Confirm your user has permission to use programmatic authentication, per that same guide.
- Add the public key to your Snowflake user:
ALTER USER your_snowflake_username SET RSA_PUBLIC_KEY='MIIBIjANBgkqh...';- In Platform, create a Database credential with your Snowflake username and the full private key (including the BEGIN/END lines) as the multiline password.
- Use that credential for your Snowflake import or export.
Programmatic Access Token (PAT)
As an alternative to a key pair, you can authenticate using a Snowflake programmatic access token. In Platform, create a Database credential with your Snowflake username and the PAT as the password, then use that credential for your Snowflake import or export.
Note that PATs expire and need to be rotated periodically. When a PAT expires, generate a new one in Snowflake and update the password on the corresponding Platform credential.
Have more questions? Submit a request
Comments
0 comments
Please sign in to leave a comment.