opensearch-project / sql-odbc

OpenSearchODBC is a read-only ODBC driver for Windows and Mac for connecting to OpenSearch SQL support.
Apache License 2.0
7 stars 17 forks source link

Add new parameter for SIGv4 auth. #42

Closed Yury-Fridlyand closed 1 year ago

Yury-Fridlyand commented 1 year ago

Description

Add new optional parameter for use with AWS_SIGv4 authentication to connect to a cluster via SSH tunnel (for example - OpenSearch cluster is a VPC endpoint). This parameter is required to fix request header to comply SIGv4 requirements. Ref: link.

New UI config parameter + new connection string parameter:

image

TODOs

Issues Resolved

Fixes #41, #39

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

acarbonetto commented 1 year ago

Make sure to update documentation for connections and mention how to connect basic/sigv4 through a tunnel (and what to set as the tunnel host): https://github.com/opensearch-project/sql-odbc/blob/main/docs/user/configuration_options.md