Skip to content

Snowflake private key auth fails with MissingParameterError #266

@StevenAltimate

Description

@StevenAltimate

Bug: Snowflake private key authentication fails with MissingParameterError: A password must be specified

Steps to reproduce:

  1. Attempt to add a Snowflake warehouse connection using private key authentication
  2. Provide: private_key (path or content), private_key_passphrase, account, user, database, schema, warehouse, role
  3. Run warehouse_test on the connection
  4. Expected: Connection succeeds using private key authentication
  5. Actual: Error: MissingParameterError: A password must be specified

Additional context:

  • The private key is encrypted (BEGIN ENCRYPTED PRIVATE KEY)
  • Password/passphrase authentication works fine for this user in other tools
  • Tried multiple config variations including setting authenticator: "snowflake_login" and empty password
  • The underlying library appears to always require a password field even when using private key auth

Metadata

Field Value
CLI Version 0.0.0-main-202603181556
Platform darwin
Architecture arm64
OS Release 24.6.0
Category bug
Working Directory altimate-code
Session ID ses_2fe5683e7ffecSmuZCQPh1Emwz

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrom-cliFeedback submitted via CLIuser-feedbackFeedback submitted by users

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions