Skip to content

Integrate Google Secret Manager for Hive password with logging#1391

Merged
dilipgodhia merged 12 commits intomainfrom
proxyv2
Apr 27, 2026
Merged

Integrate Google Secret Manager for Hive password with logging#1391
dilipgodhia merged 12 commits intomainfrom
proxyv2

Conversation

@dilipgodhia
Copy link
Copy Markdown
Contributor

Added a feature to allow the use of Google Secret Manager (GSM) for hive connectivity. In hive-site.xml, the property "javax.jdo.option.ConnectionPassword" will be removed since it will not be needed when GSM is used.

Dilip Godhia and others added 6 commits January 23, 2026 18:17
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: cjac <cjac@google.com>
@dilipgodhia
Copy link
Copy Markdown
Contributor Author

/gcbrun

@dilipgodhia dilipgodhia requested a review from cjac April 24, 2026 20:28
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces Google Secret Manager integration for Hive metastore passwords and a new flag to skip database setup when reusing instances. It also updates documentation for MySQL 8.4 compatibility. Feedback focuses on preventing password corruption by avoiding stderr capture during secret retrieval and ensuring SQL robustness by quoting database usernames.

Comment thread cloud-sql-proxy/cloud-sql-proxy.sh Outdated
Comment thread cloud-sql-proxy/cloud-sql-proxy.sh Outdated
Comment thread cloud-sql-proxy/cloud-sql-proxy.sh Outdated
Comment thread cloud-sql-proxy/cloud-sql-proxy.sh Outdated
Comment thread cloud-sql-proxy/cloud-sql-proxy.sh Outdated
dilipgodhia and others added 5 commits April 24, 2026 13:29
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@cjac cjac left a comment

Choose a reason for hiding this comment

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

LGTM. Please add the documentation before squash and merge

Comment thread cloud-sql-proxy/README.md Outdated
Update documentation.
@dilipgodhia dilipgodhia merged commit 2f71e60 into main Apr 27, 2026
2 of 3 checks passed
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.

2 participants