Skip to main content

ElasticSearch authentication

in ElasticSearch
Authors list
Published: Dec 7, 2023|Last updated: Dec 7, 2023

ElasticSearch AuthenticationCopy link to ElasticSearch Authentication to clipboard

Deskpro supports authentication for ElasticSearch using pre-configured credentials.

Note


To use ElasticSearch authentication you will need to have created user credentials already for the ElasticSearch service. For more infomation please read ElasticSearch's own documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/users-command.html

To use the created credentials you will need to update the ElasticSearch server URL with the username and password in the following format:

https://user:password@elasticsearch.url:9200/
copy

Web GUICopy link to Web GUI to clipboard

You can update the Deskpro instance within the OPC web GUI. Navigate to your instances ElasticSearch page and click 'Edit Parameters' on the Connection card.

image.png

Update the URL with the required credentials, then click 'Validate' to confirm the settings before clicking 'Save'

image.png

CLICopy link to CLI to clipboard

You can run the following command to set your instance to use an ElasticSearch server with a defined user and password

opc inst -i instance config set --es-host https://user:password@elasticsearch.url:9200/
copy
HelpfulUnhelpful
next pageIndex reset
previous pageExternal ElasticSearch server

Please log in or register to submit a comment.