opensearch-project / opensearch-project/sql-odbc
[BUG] ODBC driver requires additional configuration to use AWS_SIGv4 authentication
Open
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
- ODBC driver accepts credentials from
opensearchodbcprofile only from~/.aws/credentialsfile. Thedefaultprofile is ignored. - 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

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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