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

R2DBC in Cloud SQL : Enable support for IAM database authentication #821

Closed
mpeddada1 opened this issue Dec 28, 2021 · 2 comments
Closed

Comments

@mpeddada1
Copy link
Contributor

This seems to be blocked as described below:

Currently holding off on adding support for enabling IAM auth through the url as this doesn't seem to be working as expected for the R2DBC workflow. Extra options parsed from the url are automatically typed as String so when GcpConnectionFactoryProvider#createFactory in the Cloud SQL Java socket factory library calls (Boolean)connectionFactoryOptions.getValue(ENABLE_IAM_AUTH) this results in an error.

Originally posted by @mpeddada1 in #772 (comment)

@elefeint
Copy link
Contributor

I think this will have to be a change in GcpConnectionFactoryProvider.
Even when the limitation in R2DBC gets addressed with some new API, the socket factory will still have to switch to using the new API.

@mpeddada1
Copy link
Contributor Author

Thanks for the link to the limitation. Create an issue at GoogleCloudPlatform/cloud-sql-jdbc-socket-factory#686.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants