Class - mitto.credentials.SnowflakeCredentials

JSON Schema

SnowflakeCredentials

Snowflake Credentials.

Credentials supporting either of two Snowflake authentication methods.

  1. user/password

    Individual account, user, and password values. These will be used to construct a Snowflake URL.

  2. key-pair

    Key-pair authentication can be used by providing values for account, user`, and private_key

    This is the preferred and most secure method of authentication.

    Snowflake documentation describes how to create a key-pair and then associate the key-pair with a specific user.

NOTE:

  • Credentials must specify a value for only one of private_key and password; their use is mutually exclusive.

type

object

properties

  • account

Account

The Snowflake account identifier.

type

string

examples

PYSWIVO-TA12345

  • user

User

The Snowflake username.

type

string

examples

devtest

  • password

Password

The password for ‘user’ to use.

type

string

  • private_key

Private Key

The contents of the unencrypted private key file.

type

string

examples

-----BEGIN PRIVATE KEY-----
MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDN/W3lMrVh8wlp
...
EEH0PnUVhO8OyYX+JW0CKdVb8g==
-----END PRIVATE KEY-----