GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-go-connector

Support dialing the same instance with and without IAM authn

Open
#731 0 comments 0 reactions 1 assignee Assigned to @hessjcg View on GitHub
priority: p2 type: feature request
Dominant language
Go
Stars
145
Forks
35
Avg merge
3d 22h
Merged PRs (30d)
5

Description

### Feature Description

Presently, if a user dials an instance with IAM auth, the internal cache will use IAM auth for all subsequent certs. If a user then dials the same instance but without IAM auth, they'll get a cert with IAM auth enabled.

Instead, we should cache based on not just instance name (current behavior), but instance name + IAM auth being enabled.

### Sample code

_No response_

### Alternatives Considered

_No response_

### Additional Details

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.