Improve OpenSearchURL credential storing user and password in separate fields from the URL (#2549)

OpenSearch - Improve OpenSearchURL credential storing user and password in separate fields from the URL
This commit is contained in:
Daniel D'Abate
2024-06-04 03:31:36 +02:00
committed by GitHub
parent 76abd20e85
commit a799ac8087
2 changed files with 36 additions and 9 deletions
@@ -10,12 +10,26 @@ class OpenSearchUrl implements INodeCredential {
constructor() {
this.label = 'OpenSearch'
this.name = 'openSearchUrl'
this.version = 1.0
this.version = 2.0
this.inputs = [
{
label: 'OpenSearch Url',
name: 'openSearchUrl',
type: 'string'
},
{
label: 'User',
name: 'user',
type: 'string',
placeholder: '<OPENSEARCH_USERNAME>',
optional: true
},
{
label: 'Password',
name: 'password',
type: 'password',
placeholder: '<OPENSEARCH_PASSWORD>',
optional: true
}
]
}