mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(Snowflake Node): Add support for Key-Pair authentication (#14833)
This commit is contained in:
committed by
GitHub
parent
c02696241b
commit
4302c5f474
@@ -30,11 +30,33 @@ export class Snowflake implements ICredentialType {
|
||||
description:
|
||||
'The default virtual warehouse to use for the session after connecting. Used for performing queries, loading data, etc.',
|
||||
},
|
||||
{
|
||||
displayName: 'Authentication',
|
||||
name: 'authentication',
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
name: 'Password',
|
||||
value: 'password',
|
||||
},
|
||||
{
|
||||
name: 'Key-Pair',
|
||||
value: 'keyPair',
|
||||
},
|
||||
],
|
||||
default: 'password',
|
||||
description: 'The way to authenticate with Snowflake',
|
||||
},
|
||||
{
|
||||
displayName: 'Username',
|
||||
name: 'username',
|
||||
type: 'string',
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
authentication: ['password'],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Password',
|
||||
@@ -44,6 +66,28 @@ export class Snowflake implements ICredentialType {
|
||||
password: true,
|
||||
},
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
authentication: ['password'],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Private Key',
|
||||
name: 'privateKey',
|
||||
type: 'string',
|
||||
typeOptions: {
|
||||
password: true,
|
||||
rows: 4,
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
authentication: ['keyPair'],
|
||||
},
|
||||
},
|
||||
description: 'Private PEM key for Key-pair authentication with Snowflake',
|
||||
},
|
||||
{
|
||||
displayName: 'Schema',
|
||||
|
||||
Reference in New Issue
Block a user