Skip to content

Add support for specifying login-token #848

@enocom

Description

@enocom

Now that GoogleCloudPlatform/alloydb-go-connector#432 has been merged, we should add a login-token flag so clients may distinguish between credentials used for API interaction and for IAM authentication.

Cloud SQL added a similar flag a few years ago that did something similar. See GoogleCloudPlatform/cloud-sql-proxy#1637 for details.

AlloyDB's implementation doesn't need to be as strict because we always transmit the OAuth2 token over a secure channel. Cloud SQL by comparison embeds the token in the client certificate which requires special handling (e.g., TLS 1.3 to avoid sending the client cert over an unencrypted connection).

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions