CertSafari
    Snowflake SnowPro Advanced: Architect (ARA-C01)· Lessons

    Domain 1 · Lesson 3/13

    Snowflake security principles: encryption, network access and authentication

    Outline Snowflake security principles and identify use cases where they should be applied.

    22 min read
    8.33% of exam
    16 sources
    Published 20 Oct 2026
    Docs as of 18 Oct 2026

    What you will be able to do

    • Explain what Snowflake encrypts by default and how the key hierarchy, 30-day rotation and periodic rekeying limit each key
    • Decide when Tri-Secret Secure is needed, and plan for the customer-managed key responsibilities that come with it
    • Build network policies from network rules and predict which policy and which rule wins for a given request
    • Configure AWS PrivateLink, Azure Private Link or Google Cloud Private Service Connect and require their use with network rules
    • Control outbound calls from UDFs and procedures with egress network rules and external access integrations
    • Match SSO, MFA, OAuth, key-pair, PATs and workload identity federation to human users and applications
    • Restrict authentication with authentication policies, provision users through SCIM, and keep security objects on SECURITYADMIN or a dedicated role

    Key concept

    Encryption is on by default; access restrictions are not — Snowflake encrypts every account's data with no configuration. Where connections come from, how users authenticate and which clients they use stay unrestricted until an administrator creates network, authentication and integration objects and activates them.

    1.Encryption at rest and in transit, with no setup

    Every Snowflake account starts with encrypted data, and nobody has to turn it on. Snowflake encrypts all customer data at rest with strong AES encryption, and traffic to and from the service is encrypted with TLS. Customer data encryption and key management need no configuration. A team that has to show its data at rest is protected, without running a key process of its own, can rely on the platform default. There is no per-database switch, no rule that only tagged columns get encrypted, and no add-on to buy.

    The keys are arranged in a four-level hierarchy: a root key, account master keys, table master keys and file keys. Each parent key encrypts ("wraps") the layer below it. The root key lives in a hardware security module hosted by the cloud provider. On AWS and Azure, Snowflake creates and stores the root key in the HSM. On Google Cloud, it uses Cloud KMS for this. The design has two effects. First, every account has its own account master key, which isolates tenants from each other in addition to access control. Second, each key protects only a small amount of data: a table master key encrypts one table, and a file key encrypts one file.

    Each key is also limited in time. Snowflake rotates a key in its hierarchy once the key is more than 30 days old. The active key is retired and a new one is created. A retired key can only decrypt the data it protected before. New data, and newly wrapped child keys, always use the current active key. Periodic rekeying finishes the lifecycle. Once a retired table key is more than a year old, Snowflake creates a new key, re-encrypts the data under it and destroys the old key. On Enterprise Edition accounts, ACCOUNTADMIN enables this with PERIODIC_DATA_REKEYING. It runs online in the background without downtime. The only extra cost is 7 days of additional Fail-safe storage for the re-encrypted files.

    Checkpoint 1 of 9· Check yourself

    A team creates a new Snowflake account and changes no settings. Which statement about that account is correct?

    Checkpoint 2 of 9· Exam question

    A healthcare analytics company stores patient records in Snowflake and must demonstrate that data at rest is protected without any manual key management effort from the platform team. Which statement accurately describes Snowflake's default encryption-at-rest behavior?

    Sources12

    2.Tri-Secret Secure and customer-managed keys

    Tri-Secret Secure adds a key that Snowflake does not control. The customer creates a customer-managed key (CMK) in the key service of the cloud that hosts the account: AWS Key Management Service, Azure Key Vault or Google Cloud KMS. Snowflake combines the CMK with a Snowflake-maintained key to form a composite master key. The composite key acts as the account master key. It wraps the table master keys, which derive the file keys, and it never encrypts raw data itself. Snowflake's own key and hierarchy stay in place, so the CMK is a second secret alongside them, not a replacement. Edition requirements for Tri-Secret Secure and private connectivity are covered in Snowflake editions and compliance (PCI DSS, PII/PHI).

    What the customer gains is a kill switch. If the customer revokes the CMK, Snowflake can no longer decrypt the data. During a breach, disabling one key in the customer's own KMS stops every data operation in the account.

    In return, the customer takes on duties that Snowflake used to carry alone:

    • Confidentiality: the key must be kept secure and confidential at all times.
    • Integrity: the key must be protected against improper modification or deletion. If it is tampered with or destroyed, all existing data becomes unreadable until the key is restored.
    • Availability: Snowflake must be able to reach the key to run queries. Snowflake tolerates outages of up to 10 minutes. After that, all data operations in the account stop until the key is reachable again.

    Key rotation also works differently. Automatic rotation in the cloud KMS creates a new version of the same CMK. Snowflake does not use that version until its next account master key rotation, which happens every 30 days, and existing files are still decrypted with earlier versions. Deleting or revoking an old CMK version can therefore lose data. To switch to a different CMK, register the new key with system functions such as SYSTEM$REGISTER_CMK_INFO and let the account rekey. Snowflake uses the old CMK until rekeying finishes, so access to the old key must stay in place until then.

    Checkpoint 3 of 9· Exam question

    A financial services firm wants a key management design where Snowflake cannot decrypt customer data unless the customer's own cloud KMS key is also available, giving the customer the ability to revoke Snowflake's access to their data by revoking their key. Which Snowflake capability satisfies this requirement?

    Checkpoint 4 of 9· Exam question

    An architect designing a Business Critical account wants to understand the consequences of enabling Tri-Secret Secure with a customer-managed key (CMK) hosted in the customer's own AWS KMS. Which outcomes should the architect plan for? (Select 2)(Select 2)

    0 of 2 selected

    Sources314

    3.Network rules, network policies and which one wins

    Network policies control inbound traffic to the Snowflake service and internal stages, and they are built from network rules. A network rule is a schema-level object. It groups identifiers of one TYPE under a MODE. Inbound types are IPV4, IPV6 (AWS only), AWSVPCEID, AZURELINKID, GCPPSCID and COMPUTE_POOL. Outbound rules list domains. A rule does not say whether to allow or block. The feature that uses the rule decides that. A network policy adds rules to its allowed list and its blocked list. It has no effect until it is activated on an account, a user or a security integration. New policies should use rules instead of the older ALLOWED_IP_LIST and BLOCKED_IP_LIST parameters.

    Three evaluation rules decide most outcomes:

    • An allowed list is exclusive within its type. If a policy allows one IPv4 address, every other IPv4 address is blocked. You do not need a blocked-list entry for them.
    • The blocked list wins when a value appears in both lists. That is how you allow 192.168.1.0/24 but exclude 192.168.1.99.
    • Private endpoint rules outrank IP rules. Suppose a request arrives over private connectivity and the allowed list contains an AWSVPCEID or AZURELINKID rule. Then every IPv4 and IPv6 rule is ignored for that request.

    To accept traffic only from a VPC endpoint and refuse the internet, add a blocked IPv4 rule for 0.0.0.0/0 next to the endpoint rule. Private requests skip that IP rule because of the precedence above. Public requests are caught by it.

    Allow one VPC endpoint and block all public IPv4 trafficsql
    CREATE NETWORK RULE block_public_access
      MODE = INGRESS
      TYPE = IPV4
      VALUE_LIST = ('0.0.0.0/0');
    
    CREATE NETWORK RULE allow_vpceid_access
      MODE = INGRESS
      TYPE = AWSVPCEID
      VALUE_LIST = ('vpce-0fa383eb170331202');
    
    CREATE NETWORK POLICY allow_vpceid_block_public_policy
      ALLOWED_NETWORK_RULE_LIST = ('allow_vpceid_access')
      BLOCKED_NETWORK_RULE_LIST=('block_public_access');
    When policies are active at more than one level, the most specific one applies
    Policy activated onOverridesOverridden by
    AccountNothing (most general)User and security integration policies
    UserAccount policySecurity integration policy
    Security integrationAccount and user policiesNothing (most specific)

    Snowflake recommends many small rules, each with a comment, over one large list. For example, use one rule per region and one for privileged and service users. Where possible, scope a policy to users or an integration instead of the whole account. Internal stages on AWS are a special case. IPv4 ingress rules protect a stage only after ACCOUNTADMIN enables ENFORCE_NETWORK_RULES_FOR_INTERNAL_STAGES. IPv6 rules never protect stages. A policy activated on a security integration never restricts the stage either. If a user is locked out by a policy, the MINS_TO_BYPASS_NETWORK_POLICY property allows a temporary bypass, but only Snowflake Support can set it.

    Checkpoint 5 of 9· Fill the gap

    This policy should accept requests that arrive through the VPC endpoint and refuse every request from the public internet. Which parameter belongs in the blank?

    CREATE NETWORK RULE block_public_access
      MODE = INGRESS
      TYPE = IPV4
      VALUE_LIST = ('0.0.0.0/0');
    
    CREATE NETWORK RULE allow_vpceid_access
      MODE = INGRESS
      TYPE = AWSVPCEID
      VALUE_LIST = ('vpce-0fa383eb170331202');
    
    CREATE NETWORK POLICY allow_vpceid_block_public_policy
      ALLOWED_NETWORK_RULE_LIST = ('allow_vpceid_access')
       ? =('block_public_access');

    Sources56

    4.Private connectivity on AWS, Azure and Google Cloud

    Private connectivity lets clients reach Snowflake through a private endpoint in their own cloud network instead of at public addresses. AWS PrivateLink, Azure Private Link and Google Cloud Private Service Connect provide it on their respective clouds. Setup is self-service and starts with ACCOUNTADMIN, the only role that can run SYSTEM$GET_PRIVATELINK_CONFIG. That function returns the values you need to build the endpoint on your side. SYSTEM$AUTHORIZE_PRIVATELINK enables the account for private connectivity, SYSTEM$GET_PRIVATELINK checks whether it is enabled, and SYSTEM$REVOKE_PRIVATELINK turns it off.

    What each cloud's private endpoint is built from, and the network rule TYPE that matches it
    CloudPrivate endpoint featureValue from SYSTEM$GET_PRIVATELINK_CONFIGNetwork rule TYPE
    AWSAWS PrivateLinkprivatelink-vpce-id (used to create the VPC endpoint)AWSVPCEID
    Microsoft AzureAzure Private Linkprivatelink-pls-id (used to create the private endpoint)AZURELINKID
    Google CloudPrivate Service Connectprivatelink-gcp-service-attachment (target of the forwarding rule)GCPPSCID

    Most failed deployments break at DNS. Clients have to resolve the private host names, so privatelink-account-url and the private OCSP URL are added as CNAME records. SYSTEM$ALLOWLIST lists the public hosts a firewall must allow. Its private counterpart, SYSTEM$ALLOWLIST_PRIVATELINK, returns the privatelink host names and ports (the account, its stages and the OCSP cache) that DNS and the firewall must handle once private connectivity is in use.

    The endpoint alone does not make private connectivity mandatory. Public access stays open until a network policy blocks it, using the pattern in the previous section. Sometimes several VPCs or business units share one endpoint, or their private IP ranges overlap. In that case a rule value can combine the endpoint ID with addresses, written {private_link_id:ip_or_cidr}, and Snowflake matches the pair instead of the IP alone. On Azure, network rules cannot restrict internal stages, but Azure Private Link can block all public access to them.

    Checkpoint 6 of 9· Check yourself

    Two business units connect to Snowflake through the same shared AWS PrivateLink endpoint. Unit A's workloads sit in private subnet 10.1.0.0/16 and unit B's sit in 10.2.0.0/16. Only unit A should be able to connect over that endpoint. Which network rule setup does this?

    Sources78910

    5.Outbound calls: egress rules and external access integrations

    Network policies only control inbound traffic. Outbound requests are governed by external network access, which uses network rules in EGRESS mode. Examples are a Python UDF fetching exchange rates or a procedure posting to a webhook. An egress rule lists destination domains with ports. If no port is given, the port is 443. A destination that uses dynamic ports needs every possible port listed, and example.com:0 allows all ports. An external access integration references the egress rules and restricts outgoing requests from UDFs and procedures to the locations those rules allow.

    Checkpoint 7 of 9· Match them up

    Match each object to the traffic it controls.

    Tap a term, then the definition that fits it.

    Sources5

    6.Choosing authentication for people and for applications

    The right authentication method depends on who is connecting. It might be a person in Snowsight, an application acting for a person, or a service with nobody at the keyboard.

    For people, single sign-on is the preferred option. The user signs in with the organisation's identity provider (IdP). The IdP sends Snowflake a SAML assertion or an OIDC ID token, and Snowflake accepts it because the two have an established trust relationship. This is federated authentication, with Snowflake added as one more service provider. The alternative is a password managed by Snowflake. Snowflake requires MFA for every password user, with a passkey, an authenticator app or Duo as the second factor. Passwords are quicker to set up, but authentication then has to be managed separately from the company's other applications.

    Authentication methods for applications
    MethodHow identity is provedSuitable for
    Snowflake OAuthSnowflake is both the authorization server and the resource server; uses the authorization code grantInteractive applications
    External OAuthA third-party IdP issues the token; client credentials or authorization code grantInteractive and service-to-service
    Key-pairThe application proves it holds the private key matching the public key on the userInteractive and service-to-service
    Programmatic access token (PAT)A time-limited token that can be scoped to one roleInteractive and service-to-service
    Workload identity federationThe cloud's native identity, such as an AWS IAM role, or an OIDC ID token; no secret to storeService-to-service

    The two OAuth options differ in who acts as the authorization server. A partner that already issues tokens from its own identity platform should use External OAuth. With Snowflake OAuth, Snowflake issues the tokens, and the user signs in through Snowflake with SSO or a password. Key-pair authentication means no password is sent or stored. Workload identity federation goes further: it relies on short-lived credentials the workload already has, so there are no secrets to rotate. A PAT is a drop-in replacement for a single-factor password where MFA or a stronger method will not work.

    Checkpoint 8 of 9· Check yourself

    Your nightly CI/CD pipeline runs on AWS EC2 under an IAM role, with no person involved. The security team wants it to sign in to Snowflake without any stored secret that someone has to rotate. Which authentication method fits best?

    Sources11

    7.Authentication policies, security integrations, SCIM and who controls them

    Security integrations hold the trust with outside identity systems. A SAML2 or OIDC integration provides SSO, an EXTERNAL_OAUTH integration accepts third-party tokens, and a SCIM integration handles provisioning. Authentication policies decide which of these paths a user may take. By default, every client type, authentication method and security integration is allowed. A policy can narrow three things:

    • AUTHENTICATION_METHODS: any of SAML, OIDC, PASSWORD, OAUTH (External OAuth), KEYPAIR, PROGRAMMATIC_ACCESS_TOKEN and WORKLOAD_IDENTITY.
    • CLIENT_TYPES: SNOWFLAKE_UI, DRIVERS, SNOWFLAKE_CLI and SNOWSQL. This is a best-effort filter. It does not cover the REST APIs and should not be your only security boundary.
    • SECURITY_INTEGRATIONS: which integrations can be used. This setting has no effect unless SAML, OIDC or OAUTH is among the allowed methods.

    You set a policy on an account with ALTER ACCOUNT, on a user with ALTER USER, or on every user of one type with FOR ALL SERVICE USERS. Authentication policies also enforce MFA. MFA_ENROLLMENT = 'REQUIRED' makes human password and SSO users enrol in MFA. ENFORCE_MFA_ON_EXTERNAL_AUTHENTICATION = 'ALL' also requires MFA on SSO logins. Users can only enrol in Snowsight, so a policy like this must keep SNOWFLAKE_UI in CLIENT_TYPES.

    An authentication policy that requires MFA for password and SSO userssql
    CREATE AUTHENTICATION POLICY require_mfa_authentication_policy
      MFA_ENROLLMENT = 'REQUIRED'
      MFA_POLICY=  (
        ENFORCE_MFA_ON_EXTERNAL_AUTHENTICATION = 'ALL'
      );

    SCIM manages the users themselves. A SCIM security integration lets an IdP (Okta, Microsoft Entra ID or a generic client) manage user identities and groups in Snowflake automatically, so joiners and leavers are handled in the directory instead of by hand. Users and roles imported this way are owned by the integration's RUN_AS_ROLE, for example OKTA_PROVISIONER. The IdP is a service-to-service application, so it signs in as a Snowflake service user, using External OAuth or a PAT, whose role has USAGE on the integration. SCIM brings in users and roles. Privileges on databases and warehouses are still granted to those roles inside Snowflake.

    An Okta SCIM integration whose imported users and roles are owned by OKTA_PROVISIONERsql
    CREATE OR REPLACE SECURITY INTEGRATION okta_provisioning
        TYPE = scim
        SCIM_CLIENT = 'OKTA'
        RUN_AS_ROLE = 'OKTA_PROVISIONER';

    The security objects themselves need privileges. Privileges are granted to roles, and roles inherit from the roles below them; see RBAC: ownership, role hierarchy and privilege inheritance. Snowflake advises against mixing account-management privileges with object privileges in the same role. So security objects stay with SECURITYADMIN, or with a narrow custom role such as network_admin or policy_admin. A network team granted only CREATE NETWORK RULE on a security schema can maintain rules without holding ACCOUNTADMIN.

    Privileges behind each security object
    ActionPrivilege requiredHeld by default
    Create a network ruleCREATE NETWORK RULE on the schemaACCOUNTADMIN, SECURITYADMIN, schema owner
    Create and activate a network policySecurity administrator rightsSECURITYADMIN or higher
    Create an authentication policyCREATE AUTHENTICATION POLICY on the schemaGranted to a custom role such as policy_admin
    Set an authentication policy on an account or userAPPLY AUTHENTICATION POLICY on the account or userSECURITYADMIN
    Alter an authentication policyOWNERSHIP of the policySECURITYADMIN or higher
    Get private connectivity configuration; enforce rules on internal stagesACCOUNTADMIN roleACCOUNTADMIN

    Checkpoint 9 of 9· Check yourself

    The network engineering team needs to create and maintain the account's network rules. The security lead does not want anyone on that team to hold ACCOUNTADMIN. Which setup follows Snowflake's guidance?

    Sources12131415516

    Sources

    (16)

    Every claim above is drawn from one of these pages, quoted as it was written on the date shown.

    1. 1.
      “All Snowflake customer data is encrypted by default.”
      ↩︎ Encryption at rest and in transit, with no setup
      “Customer data encryption and key management require no configuration or management.”
      ↩︎ Encryption at rest and in transit, with no setup
      “In a multi-tenant cloud service like Snowflake, the hierarchical key model isolates every account with the use of separate account master keys.”
      ↩︎ Encryption at rest and in transit, with no setup
      “Keys in the Snowflake-managed key hierarchy are automatically rotated by Snowflake when they are more than 30 days old.”
      ↩︎ Encryption at rest and in transit, with no setup
      “When retired, the key is used solely to decrypt customer data and is only available for accessing the data.”
      ↩︎ Encryption at rest and in transit, with no setup
      “when the retired encryption key for a table is older than one year, Snowflake automatically creates a new encryption key”
      ↩︎ Encryption at rest and in transit, with no setup
      “You must keep your key secure and confidential at all times.”
      ↩︎ Tri-Secret Secure and customer-managed keys
      “After 10 minutes, if the key remains unavailable, all data operations in your Snowflake account will cease completely.”
      ↩︎ Tri-Secret Secure and customer-managed keys
      “Deleting a rotated key can lead to data loss.”
      ↩︎ Tri-Secret Secure and customer-managed keys
      “Snowflake incorporates the new CMK version the next time it rotates its internal Account Master Key (AMK)”
      ↩︎ Exam trap 4
    2. 2.
      “In Snowflake, all customer data at rest is encrypted and encrypted with TLS in transit to/from the Snowflake service.”
      ↩︎ Encryption at rest and in transit, with no setup
    3. 3.
      “This composite master key acts as an account master key by wrapping all of the keys in your account hierarchy.”
      ↩︎ Tri-Secret Secure and customer-managed keys
      “The composite master key is never used to encrypt raw data.”
      ↩︎ Tri-Secret Secure and customer-managed keys
      “If the customer-managed key (CMK) in the composite master key hierarchy is revoked, your data can no longer be decrypted by Snowflake.”
      ↩︎ Tri-Secret Secure and customer-managed keys
      “Our dual-key encryption model combines a Snowflake-maintained key and a customer-managed key (CMK)”
      ↩︎ Exam trap 3
    4. 4.
    5. 5.
      “A network rule does not define whether its identifiers should be allowed or blocked.”
      ↩︎ Network rules, network policies and which one wins
      “External network access uses network rules to restrict access to external network locations from a Snowflake UDF or procedure.”
      ↩︎ Outbound calls: egress rules and external access integrations
      “If you do not specify a port, it defaults to 443.”
      ↩︎ Outbound calls: egress rules and external access integrations
      “the EGRESS mode indicates the network rule will be used with an external access integration to restrict outgoing requests”
      ↩︎ Outbound calls: egress rules and external access integrations
      “By default, only the ACCOUNTADMIN and SECURITYADMIN roles, along with the schema owner, have this privilege.”
      ↩︎ Authentication policies, security integrations, SCIM and who controls them
      “because Snowflake evaluates the combination of the PrivateLink ID and private IP, not the IP alone, to allow or block traffic”
      ↩︎ Checkpoint
    6. 6.
      “A network policy doesn’t restrict network traffic until it is activated.”
      ↩︎ Network rules, network policies and which one wins
      “then all IPV4 and IPV6 network rules that contain public or private IP ranges are ignored.”
      ↩︎ Network rules, network policies and which one wins
      “Whenever possible, narrowly scope a network policy to a group of users or a security integration rather than an entire account.”
      ↩︎ Network rules, network policies and which one wins
      “Network rules do not protect an internal stage until this parameter is enabled, regardless of the rule’s mode.”
      ↩︎ Network rules, network policies and which one wins
      “By default, Snowflake allows users to connect to the service and internal stage from any computer or device.”
      ↩︎ Key concept
      “has no effect on requests coming from the public network”
      ↩︎ Exam trap 1
      “Network policies applied to a security integration are the most specific network policies.”
      ↩︎ Exam trap 2
      “By default, Snowflake allows users to connect to the service and internal stage from any computer or device.”
      ↩︎ Checkpoint
      “has no effect on requests coming from the public network”
      ↩︎ Prediction
    7. 7.
      “These features provide private connectivity to the Snowflake service on each supported cloud platform.”
      ↩︎ Private connectivity on AWS, Azure and Google Cloud
    8. 8.
      “Use this value when creating a forwarding rule to route the Private Service Connect endpoint in your VPC to the Snowflake service.”
      ↩︎ Private connectivity on AWS, Azure and Google Cloud
    9. 9.
      “Call the SYSTEM$AUTHORIZE_PRIVATELINK function to enable your Snowflake account to use private connectivity to the Snowflake service.”
      ↩︎ Private connectivity on AWS, Azure and Google Cloud
    10. 10.
      “SYSTEM$ALLOWLIST_PRIVATELINK function for accounts using private connectivity to the Snowflake service to obtain the host names for your Snowflake account.”
      ↩︎ Private connectivity on AWS, Azure and Google Cloud
    11. 11.
      “Snowflake requires MFA for all password users.”
      ↩︎ Choosing authentication for people and for applications
      “a third-party IdP, not Snowflake, acts as the authorization server”
      ↩︎ Choosing authentication for people and for applications
      “This authentication method eliminates the need to transmit or store passwords, reducing the risk of credential theft.”
      ↩︎ Choosing authentication for people and for applications
      “A PAT can be used as a drop-in replacement for a single-factor password”
      ↩︎ Choosing authentication for people and for applications
      “Workload identity federation is a form of secretless authentication, and is highly secure because it leverages short-lived credentials that are already available to cloud workloads.”
      ↩︎ Checkpoint
    12. 12.
      “By default, all client types, authentication methods, and security integrations can be used to connect to Snowflake.”
      ↩︎ Authentication policies, security integrations, SCIM and who controls them
      “because Snowsight is the only place users can enroll in multi-factor authentication (MFA)”
      ↩︎ Exam trap 5
    13. 13.
      “This parameter has no effect when SAML, OIDC, or OAUTH are not in the AUTHENTICATION_METHODS list.”
      ↩︎ Authentication policies, security integrations, SCIM and who controls them
    14. 14.
      “Specify the SCIM role in Snowflake that owns any users and roles that are imported from the identity provider into Snowflake using SCIM.”
      ↩︎ Authentication policies, security integrations, SCIM and who controls them
    15. 15.
      “The SCIM IdP is a service-to-service application, so it must correspond to a Snowflake service user”
      ↩︎ Authentication policies, security integrations, SCIM and who controls them
    16. 16.
      “it is not recommended to mix account-management privileges and entity-specific privileges in the same role.”
      ↩︎ Authentication policies, security integrations, SCIM and who controls them

    Spotted a mistake, or was something unclear? Tell us.