Snowflake

Auto-provisioning

Authentication method

API key

Required permissions

Admin

Required metadata

None

How do I create a Personal Access Token?

Agent Cake uses Snowflake Personal Access Tokens (PATs) to connect securely and automate provisioning. Follow the steps below to set one up.

Prerequisites

Before you can create and use a PAT:

  1. User type

    • PATs can be created for both human users (TYPE=PERSON) and service users (TYPE=SERVICE).

  2. Network policy

    • By default, the user must be subject to a network policy.

    • For service users, this is always required.

    • For human users, it’s required to use the token, even if it’s not required for creation.

  3. Authentication policy

    • The user’s authentication policy must allow PROGRAMMATIC_ACCESS_TOKEN in its list of authentication methods.

  4. Privileges

    • Users can generate PATs for themselves.

    • To manage a PAT for another user or a service user, you need a role with either OWNERSHIP or MODIFY PROGRAMMATIC AUTHENTICATION METHODS on that user.

Last updated

Was this helpful?