Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add support for IAM Auth for Google CloudSQL DBs #22445
Add support for IAM Auth for Google CloudSQL DBs #22445
Changes from all commits
725f146
ca75032
daaa0a2
e473221
90e314d
9642f2f
8051c2b
3439cf6
0d75032
8884d61
c3439ee
4e95fa1
bb523bb
f19d08b
2d18dc7
ab33183
407fb94
8465080
4065b4f
dd5421e
59b39de
d292f48
bc12535
82117d3
17f2307
027c3a8
1b3c99c
764304a
d66a326
3cd5969
0e7e600
0148beb
e574229
a7fb135
78670dc
53fe629
57e42a9
e5cdef2
e859398
2b9d61f
689bd3a
b8cf7ad
7d43583
f977490
ecfa709
286ed06
15e2048
39efe5d
e80b014
0961164
1ee56f4
e1499f6
7974576
b0a9ad0
5114daa
49c2486
1b0fa91
bda4fb2
7910b20
6d4727e
f9c5f7f
16eeea8
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I was going to suggest adding a comment to this field to document that it is only for GCP. But maybe we should consider renaming it instead? I think in Vault-land we usually use
GOOGLE_APPLICATION_CREDENTIALS
for service account JSON.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting point! This field was originally named
credentials
, and was renamed toservice_account_json
with the same intent of making it GCP specific. I would sayservice_account_json
suffices enough to make it explicit that this is a GCP related field because in the IAM context, I think only GCP uses the term 'service accounts' as far as I know 🤔 (I believe AWS just calls them IAM users). If it is not clear enough I can add in a comment like you suggested!Here's the original renaming discussion for context: #22445 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're still making use of the
GOOGLE_APPLICATION_CREDENTIALS
under the hood as the environment variable though, since that is what thegcloud
sdk also expects (similar to Vault)