Skip to content

feat: Support Developer Edition connections#2610

Open
hessjcg wants to merge 1 commit into
mainfrom
sql-data-service-public
Open

feat: Support Developer Edition connections#2610
hessjcg wants to merge 1 commit into
mainfrom
sql-data-service-public

Conversation

@hessjcg

@hessjcg hessjcg commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

This PR adds support for Developer Edition connections to the Cloud SQL Auth Proxy. It introduces the --sql-data flag and --sql-data-endpoint flag to enable and configure these connections. It also supports the sql-data query parameter in instance connection strings.

@hessjcg hessjcg changed the title feat: Support AI Developer Edition connections feat: Support Developer Edition connections Jun 3, 2026
@hessjcg hessjcg force-pushed the sql-data-service-public branch from 48b2ad9 to 5ddfc1d Compare June 3, 2026 18:56
@hessjcg hessjcg marked this pull request as ready for review June 9, 2026 20:07
@hessjcg hessjcg requested a review from a team as a code owner June 9, 2026 20:07
@hessjcg hessjcg force-pushed the sql-data-service-public branch 6 times, most recently from 88e1f84 to ec3e25a Compare June 11, 2026 18:26
…Auth Proxy

Cloud SQL AI Developer Edition instances allow connections through the SqlDataService. 
With this change and the corresponding chagnes in the Cloud SQL Go Connector, the Auth 
Proxy will allow users to connect to AIDE instances. Set the --sql-data flag to enable
this support.
@hessjcg hessjcg force-pushed the sql-data-service-public branch from ec3e25a to 9461d32 Compare June 11, 2026 18:40
Comment thread build.sh
function iam_user_mysql() {
# Truncate the part after the @
local email
local pguser

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should this be mysqluser?

Comment thread cmd/root.go
Comment on lines +612 to +615
localFlags.BoolVar(&c.conf.SQLDataEnabled, "sql-data", false,
"Enable SQL Data to tunnel through the Cloud SQL Admin API without"+
" needing network access to your public or private IP",
)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need some validation if user specify sql-data and other method ("--private-ip", "--auto-ip") at the same time?

Comment thread internal/proxy/proxy.go
Comment on lines +881 to +882
// Only Postgres is supported by the SqlDataService
// when more engines are supported, this code will need to change.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe add a TODO tag here?

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.

4 participants