Lessons learned: Configuring JWT authentication in OpenSearch (v2.0.0)

Opensearch has support for using JWT authentication: https://opensearch.org/docs/latest/security-plugin/configuration/configuration/#json-web-token This is a really nifty feature when integrating with 3rd party solutions to provide SSO. For various reasons, my main focus was on getting JWT URL parameters to work, i.e. being able to pass the JWT to opensearch and dashboards via the URL. Here are some important … Continue reading Lessons learned: Configuring JWT authentication in OpenSearch (v2.0.0)

Golang in Windows: Execute command as another user

In Windows, there are some (admittedly limited) use cases where you could be interested in executing a command as another user. I came across one such use case during the development of Tutela, but this could be extended to generic uses. Under Windows, most services would need to run using SYSTEM credentials. This is true … Continue reading Golang in Windows: Execute command as another user