Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support providing regions/endpoint configuration at connection-time #143

Open
steve-thousand opened this issue Dec 21, 2022 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@steve-thousand
Copy link

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.

@steve-thousand steve-thousand added the enhancement New feature or request label Dec 21, 2022
@jbct
Copy link

jbct commented Jan 9, 2023

Hi steve-thousand. Could you speak a bit more to your use case? What are you looking to have happen?

@johnB96
Copy link

johnB96 commented Feb 10, 2023

I work with Steve and can mention a use case we have. We want to use a read-only connection (denoted by -ro- in the url). Other consumers of the secrets manager resource need the read-write connection that we specify for host, however, we want certain processes to use the read-only connection, specified with a different key in the json but given this code looks for host only it can't use that read-only connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants