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 Service Account Impersonation #392

Closed
hessjcg opened this issue Jul 18, 2023 · 3 comments · Fixed by #445 or #474
Closed

Support Service Account Impersonation #392

hessjcg opened this issue Jul 18, 2023 · 3 comments · Fixed by #445 or #474
Assignees
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@hessjcg
Copy link
Collaborator

hessjcg commented Jul 18, 2023

Add support for configuring the proxy's Service Account Impersonation flag --impersonate-service-account

@hessjcg hessjcg added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. labels Jul 18, 2023
@enocom
Copy link
Member

enocom commented Aug 16, 2023

I think we should hold off on this until there's compelling user interest. Closing for now.

@jadenlemmon
Copy link

@enocom Answering question from here.

Our use case is we have a pod that needs access to GCP services such as Cloud Storage. This same pod also needs to access Cloud SQL. We access Cloud SQL via an IAM user added as a user on the instance. We don't want to add the pod service account as an IAM user on the Cloud SQL instance but prefer to access via service account impersonation.

This is so we can maintain simplicity at the Postgres level itself by only managing one user but can grant access to the Cloud SQL instance by granting impersonation rights to other acting service accounts.

@enocom
Copy link
Member

enocom commented Oct 20, 2023

Sounds totally legitimate. Thanks for the info. We'll get this feature merged.

hessjcg added a commit that referenced this issue Oct 24, 2023
Now users can configure the proxy's --service-account-impersonation parameter.

Fixes #392
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
3 participants