Study FAQ
How should people and automated services authenticate to Snowflake?
Also asked as 2
- Which Snowflake authentication methods fit an interactive login versus an unattended job?
- How do I choose a Snowflake login method that matches the user type and authentication policy?
Answer
For interactive Snowflake users, choose an approved human sign-in flow such as federated SSO, and apply the relevant MFA policy. For unattended clients, use a dedicated service user with an approved non-interactive mechanism such as workload identity federation, key-pair authentication, OAuth or a programmatic access token where supported. Use the least-privilege role and verify the selected driver supports the exact flow.
Authentication policies can restrict authentication methods, client types and minimum versions, identity-provider integrations, MFA, and aspects of token or workload-identity use. SAML browser-based SSO and OIDC federated SSO have different client paths. OIDC federated SSO is an open preview in the current docs, supports Snowsight and supported clients using OAuth authorization code, and does not use the externalbrowser authenticator.
For automation, prefer a supported mechanism that fits your identity provider and credential lifecycle. Workload identity federation can use short-lived provider credentials. For key-pair rotation, provision the replacement key and migrate dependent clients before retiring the previous key. For tokens, verify expiry, allowed roles, and applicable network or authentication policies. Keep private keys and tokens in managed secret storage, and test under the actual service role with the intended client and endpoint.
Authentication policies · Multi-factor authentication · Using federated authentication · OIDC federated authentication · Key-pair authentication and rotation · Workload identity federation · Programmatic access tokens · OAuth
Full explanation
Snowflake Connectivity: Drivers, Connectors, Network Policies, and Authentication
Study guide · COF-C03
Read the full explanation