aws / aws/aws-secretsmanager-jdbc

Support providing regions/endpoint configuration at connection-time

Open
#143 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
196
Forks
87
PR merge metrics
No merged PRs in 30d

Description

Currrently, configuration of the secrets manager region and endpoint needs to be done through system properties and environment variables. There are a few problems with this approach that I have run into:

1. If ARNs ever have to be retrieved from different regions, the driver only supports one
2. Setting the environment variables has been an issue in some environments, like when EMR runs your code in yarn containers

If region/endpoint could be provided as connection properties, the region/endpoint could be used dynamically.

Contributor guide

Open the contributing guide

Research direction

Start by locating how the driver currently reads Secrets Manager region and endpoint values from system properties and environment variables, then trace how connection properties are parsed. Done means callers can provide region and endpoint at connection time and those values can vary dynamically for different ARN lookups; verify behavior with the existing test suite.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.