Kerberos Support
See original GitHub issueHi,
I am using elastic gold and need kerberos support. I was able to force the client to work by setting a host object and forcing the Authorization header always to be sent.
i.e.:
new elasticsearch.Client({
host: 'myhost.com',
path: '/some/path',
port: 1234,
protocol: 'https',
headers: {'Authorization': 'Negotiate ' + myAuthToken}
})
This is poor because:
- At some point this token will expire
- There is no way to enable mutual authentication (i.e. verify what is returned in
WWW-Authenticate
) - We are over sending this header by adding it on every request
Do you have any advice on:
- How to change my host header when the token expires? I see if I look deep enough, it is saved in a private variable.
- Is there a hook for mutual authenticate I could use?
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Kerberos Authentication Explained - Varonis
Kerberos uses symmetric key cryptography and requires trusted third-party authorization to verify user identities. Since Kerberos requires 3 ...
Read more >What Is Kerberos? Kerberos Authentication Explained - Fortinet
Kerberos authentication allows service systems and users to authenticate each other. During all steps of the process, the user and the server will...
Read more >Kerberos support - IBM
Kerberos support. Kerberos is a third-party network authentication protocol that employs a system of shared secret keys to securely authenticate a user in...
Read more >Kerberos (protocol) - Wikipedia
Kerberos is a computer-network authentication protocol that works on the basis of tickets to allow nodes communicating over a non-secure network to prove ......
Read more >Kerberos Authentication Overview - Microsoft Learn
Kerberos authentication supports a delegation mechanism that enables a service to act on behalf of its client when connecting to other services.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@spalger Reminder to link
https://www.npmjs.com/package/superagent-elasticsearch has been published! Please link from the extensions page