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

Persistence needs to support IAM based DB access #3569

Open
sarabala1979 opened this issue Jul 23, 2020 · 3 comments
Open

Persistence needs to support IAM based DB access #3569

sarabala1979 opened this issue Jul 23, 2020 · 3 comments
Labels
area/offloading Node status offloading area/workflow-archive type/feature Feature request

Comments

@sarabala1979
Copy link
Member

sarabala1979 commented Jul 23, 2020

Summary

What change you think needs making.

Motivation

Please give examples of your use case, e.g. when would you use this.

Proposal

How do you think this should be implemented?


Message from the maintainers:

If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

- [ ] https://github.com/argoproj/argo-workflows/issues/3569
@sarabala1979 sarabala1979 added the type/feature Feature request label Jul 23, 2020
@mehtadeepen
Copy link
Contributor

This would be good to have because managing password is difficult to manage. Also, If role based access is possible then it will easy to access db via trusting role.

@alexec
Copy link
Contributor

alexec commented Jul 23, 2020

@terrytangyuan
Copy link
Member

terrytangyuan commented Aug 22, 2023

It's better not to introduce vendor-specific code to persistence. It's easy to support this for GCP since its Go connector supports automatic IAM authentication which refreshes the token periodically but I haven't seen alternative on AWS yet. Reference: https://cloud.google.com/sql/docs/postgres/authentication

One verified solution for anyone on GCP: use CloudSQL Proxy. Basically you can start your proxy as a sidecar and then specify your IAM user, localhost and empty password "" in your persistence config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/offloading Node status offloading area/workflow-archive type/feature Feature request
Projects
None yet
Development

No branches or pull requests

5 participants