Minor improvement to SFTP credentials

This commit is contained in:
Jan Oberhauser 2020-11-12 19:26:03 +01:00
parent 042028fb5f
commit 8f8603320a

View file

@ -41,10 +41,9 @@ export class Sftp implements ICredentialType {
{ {
displayName: 'Private Key', displayName: 'Private Key',
name: 'privateKey', name: 'privateKey',
required: true,
type: 'string' as NodePropertyTypes, type: 'string' as NodePropertyTypes,
typeOptions: { typeOptions: {
alwaysOpenEditWindow: true, alwaysOpenEditWindow: true,
}, },
default: '', default: '',
description: 'String that contains a private key for either key-based or hostbased user authentication (OpenSSH format).', description: 'String that contains a private key for either key-based or hostbased user authentication (OpenSSH format).',
@ -55,10 +54,9 @@ export class Sftp implements ICredentialType {
typeOptions: { typeOptions: {
password: true, password: true,
}, },
required: true,
type: 'string' as NodePropertyTypes, type: 'string' as NodePropertyTypes,
default: '', default: '',
description: 'For an encrypted private key, this is the passphrase used to decrypt it', description: 'For an encrypted private key, this is the passphrase used to decrypt it.',
}, },
]; ];
} }