fix(Snowflake Node): Fix key-pair credentials (#16635)

Co-authored-by: Elias Meire <elias@meire.dev>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
Michael Kret
2025-06-25 21:23:01 +03:00
committed by GitHub
parent 7c33292483
commit 8e6de34bc3
3 changed files with 72 additions and 7 deletions

View File

@@ -52,11 +52,6 @@ export class Snowflake implements ICredentialType {
name: 'username',
type: 'string',
default: '',
displayOptions: {
show: {
authentication: ['password'],
},
},
},
{
displayName: 'Password',
@@ -87,7 +82,19 @@ export class Snowflake implements ICredentialType {
authentication: ['keyPair'],
},
},
description: 'Private PEM key for Key-pair authentication with Snowflake',
description:
'Private PEM key for Key-pair authentication with Snowflake, follow guide <a href="https://docs.snowflake.com/en/user-guide/key-pair-auth" target="_blank">here</a>',
},
{
displayName: 'Passphrase',
name: 'passphrase',
type: 'string',
default: '',
description:
'If the private key is encrypted, you must provide the passphrase used to encrypt it',
typeOptions: {
password: true,
},
},
{
displayName: 'Schema',