-
-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable inserting custom URL using basic auth #1262
Enable inserting custom URL using basic auth #1262
Conversation
@@ -15,7 +15,7 @@ class ElasticSearchUserPassword implements INodeCredential { | |||
'Refer to <a target="_blank" href="https://www.elastic.co/guide/en/kibana/current/tutorial-secure-access-to-kibana.html">official guide</a> on how to get User Password from ElasticSearch' | |||
this.inputs = [ | |||
{ | |||
label: 'Cloud ID', | |||
label: 'Cloud ID or custom server URL', | |||
name: 'cloudId', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add a description
to explain how to get Cloud ID OR what is custom server URL? Better if it has link to docs like here
username: username, | ||
password: password | ||
if (cloudId.startsWith('http')) { | ||
let username = getCredentialParam('username', credentialData, nodeData) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these 2 lines are redundant as its already declared above
Thanks for your suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @tirongi !
…RLBasicAuth Enable inserting custom URL using basic auth
In the credential nodeId can be inserted a custom server URL and the basic auth will be used.