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

feat: IAM Auth for RDS #3559

Merged
merged 5 commits into from
Nov 28, 2024
Merged

feat: IAM Auth for RDS #3559

merged 5 commits into from
Nov 28, 2024

Conversation

jvmakine
Copy link
Contributor

Have not been yet fully test e2e, but at least this creates the user with right auth mechanism.

Merging this in will help testing, as I won't need to keep manual docker images in sync.

@jvmakine jvmakine requested review from a team and alecthomas as code owners November 28, 2024 05:23
@jvmakine jvmakine requested review from wesbillman and removed request for a team November 28, 2024 05:23
@github-actions github-actions bot changed the title IAM Auth for RDS feat: IAM Auth for RDS Nov 28, 2024
@ftl-robot ftl-robot mentioned this pull request Nov 28, 2024
@alecthomas alecthomas requested review from a team as code owners November 28, 2024 05:24
@alecthomas alecthomas requested review from stuartwdouglas and removed request for a team November 28, 2024 05:24
Copy link
Collaborator

@stuartwdouglas stuartwdouglas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really like how these dependencies are leaking into user deployments, but that is not something we can solve now.

}

authenticationToken, err := auth.BuildAuthToken(
// TODO: proper region
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will be done very soon!


Username string `parser:"" protobuf:"2"`
Endpoint string `parser:"" protobuf:"3"`
Database string `parser:"" protobuf:"4"`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want this to be parseable?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, that is just cargo culting from the existing runtime, and it seems to work. Not totally sure what this does. Should these be parseable?

@jvmakine jvmakine merged commit 66c3518 into main Nov 28, 2024
93 checks passed
@jvmakine jvmakine deleted the juho/iam-auth branch November 28, 2024 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants