opensearch-project / opensearch-project/sql-odbc

[BUG] ODBC driver requires additional configuration to use AWS_SIGv4 authentication

Open
#20 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
10
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

  1. ODBC driver accepts credentials from opensearchodbc profile only from ~/.aws/credentials file. The default profile is ignored.
  2. ODBC driver ignores credentials set in environment variables. See doc.

Expected behavior
The JDBC driver accepts credentials from the default profile` and from the environment variables as well. I expected ODBC to do the same.

Version: 1.2.0

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named. Start by tracing how the ODBC driver reads the opensearchodbc profile, the default profile, and environment variables, using the linked AWS credentials documentation and JDBC behavior as references. Done means AWS_SIGv4 authentication accepts the default profile and supported environment credentials.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, cpp, sql
Domain
authentication, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.