Skip to content
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

google: base account credentials with file-sourcing #462

Closed
wants to merge 12 commits into from

Conversation

gIthuriel
Copy link
Contributor

Implements the core functionality to allow 3rd party identities access to Google APIs. Specifically, this PR implements the base account credential type and supports file-sourced credentials such as Kubernetes workloads. Later updates will add support for URL-sourced credentials such as Microsoft Azure and support for AWS credentials.

@google-cla
Copy link

google-cla bot commented Dec 3, 2020

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@google-cla google-cla bot added the cla: no label Dec 3, 2020
@google-cla
Copy link

google-cla bot commented Dec 3, 2020

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

2 similar comments
@google-cla
Copy link

google-cla bot commented Dec 3, 2020

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@google-cla
Copy link

google-cla bot commented Dec 7, 2020

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@google-cla
Copy link

google-cla bot commented Dec 7, 2020

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@gIthuriel
Copy link
Contributor Author

@googlebot You should run this again now?

@google-cla
Copy link

google-cla bot commented Dec 7, 2020

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@gopherbot
Copy link
Contributor

This PR (HEAD: 9d33034) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/oauth2/+/276312 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Patrick Jones:

Patch Set 1:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Cody Oss:

Patch Set 1: Code-Review-1

(31 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Patrick Jones:

Patch Set 1:

(21 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Shin Fan:

Patch Set 1: Code-Review-1

(6 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

Change-Id: I8c5c60f03b537834c59420c1f096ef97f9ada8c2
@gopherbot
Copy link
Contributor

This PR (HEAD: 27c17b4) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/oauth2/+/276312 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Patrick Jones:

Patch Set 1:

(5 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Chuan Ren:

Patch Set 1:

(3 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Cody Oss:

Patch Set 2:

(7 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

… to allow for testing for time in unit tests. The unit tests will not pass at the moment; awaiting feedback on whether to use a test credential source or rely on a separate one.

Change-Id: I20605fa161911f325ab41fc345436d08ed17ed5e
@gopherbot
Copy link
Contributor

This PR (HEAD: 4c1e086) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/oauth2/+/276312 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Patrick Jones:

Patch Set 3:

(8 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Cody Oss:

Patch Set 3:

(4 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

@gIthuriel gIthuriel changed the title Base account credentials with file-sourcing google: base account credentials with file-sourcing Dec 15, 2020
Change-Id: Ic0e6363b19bbfd40df6b7b15322abf43c9990688
@gopherbot
Copy link
Contributor

This PR (HEAD: 08114d0) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/oauth2/+/276312 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

Change-Id: I741fc5df06f9fa06cf15dd04cba3ff9fbb90e880
@gopherbot
Copy link
Contributor

This PR (HEAD: c37859f) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/oauth2/+/276312 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Patrick Jones:

Patch Set 9:

(11 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Cody Oss:

Patch Set 9:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

Change-Id: I1cd741935fd5e4b7fca70395285f8e458c6e0ae3
@gopherbot
Copy link
Contributor

This PR (HEAD: d16feb8) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/oauth2/+/276312 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Patrick Jones:

Patch Set 9:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Cody Oss:

Patch Set 10:

(6 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

Change-Id: I5164549afe6997f4512c9dc1954b97ca7a2c6c4d
@gopherbot
Copy link
Contributor

This PR (HEAD: 3bbb436) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/oauth2/+/276312 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Patrick Jones:

Patch Set 10:

(5 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

Change-Id: Ia1f314ae5edd33bc91b5e950c6499c049219ee79
@gopherbot
Copy link
Contributor

This PR (HEAD: 5e41ced) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/oauth2/+/276312 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Patrick Jones:

Patch Set 11:

(3 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Cody Oss:

Patch Set 12: Run-TryBot+1 Code-Review+1 Trust+1


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 12:

TryBots beginning. Status page: https://farmer.golang.org/try?commit=9d79c306


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 12: TryBot-Result+1

TryBots are happy.


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Tyler Bui-Palsulich:

Patch Set 12:

(4 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

Change-Id: I2dc28d4f427509b3e62eeb9f14b1583178812038
@gopherbot
Copy link
Contributor

This PR (HEAD: 3ab5162) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/oauth2/+/276312 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Patrick Jones:

Patch Set 12:

(4 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Tyler Bui-Palsulich:

Patch Set 13: Run-TryBot+1 Code-Review+2 Trust+1


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 13:

TryBots beginning. Status page: https://farmer.golang.org/try?commit=a9479931


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

gopherbot pushed a commit that referenced this pull request Jan 12, 2021
Implements the core functionality to allow 3rd party identities access to Google APIs.  Specifically, this PR implements the base account credential type and supports file-sourced credentials such as Kubernetes workloads.  Later updates will add support for URL-sourced credentials such as Microsoft Azure and support for AWS credentials.

Change-Id: I6e09a450f5221a1e06394b51374cff70ab3ab8a7
GitHub-Last-Rev: 3ab5162
GitHub-Pull-Request: #462
Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/276312
Reviewed-by: Tyler Bui-Palsulich <tbp@google.com>
Trust: Tyler Bui-Palsulich <tbp@google.com>
Trust: Cody Oss <codyoss@google.com>
Run-TryBot: Tyler Bui-Palsulich <tbp@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 13: TryBot-Result+1

TryBots are happy.


Please don’t reply on this GitHub thread. Visit golang.org/cl/276312.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

This PR is being closed because golang.org/cl/276312 has been merged.

@gopherbot gopherbot closed this Jan 12, 2021
gopherbot pushed a commit that referenced this pull request Jan 13, 2021
Implements functionality to allow for URL-sourced 3rd party credentials, expanding the functionality added in #462 .

Change-Id: Ib7615fb618486612960d60bee6b9a1ecf5de1404
GitHub-Last-Rev: 9571392
GitHub-Pull-Request: #466
Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/283372
Run-TryBot: Cody Oss <codyoss@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cody Oss <codyoss@google.com>
Trust: Tyler Bui-Palsulich <tbp@google.com>
Trust: Cody Oss <codyoss@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants