Skip to content

Update AIP-4115.#1022

Merged
shinfan merged 6 commits intoaip-dev:masterfrom
theodorehu95:dev
Mar 10, 2023
Merged

Update AIP-4115.#1022
shinfan merged 6 commits intoaip-dev:masterfrom
theodorehu95:dev

Conversation

@theodorehu95
Copy link
Copy Markdown
Contributor

@theodorehu95 theodorehu95 requested a review from a team as a code owner February 16, 2023 23:17
Copy link
Copy Markdown

@matthewstevenson88 matthewstevenson88 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR Hang! I've left some comments, mostly nits. :)

Comment thread aip/auth/4115.md Outdated
Comment thread aip/auth/4115.md Outdated
Comment thread aip/auth/4115.md Outdated
Comment thread aip/auth/4115.md Outdated
Comment thread aip/auth/4115.md Outdated
Comment thread aip/auth/4115.md Outdated
Comment thread aip/auth/4115.md Outdated
Comment thread aip/auth/4115.md Outdated
Comment thread aip/auth/4115.md Outdated
Comment thread aip/auth/4115.md Outdated
Comment thread aip/auth/4115.md
Copy link
Copy Markdown

@matthewstevenson88 matthewstevenson88 left a comment

Choose a reason for hiding this comment

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

LGTM, with a few remaining micro-nits. Thanks for the PR Hang! :)

Comment thread aip/auth/4115.md Outdated
Comment thread aip/auth/4115.md Outdated
Comment thread aip/auth/4115.md Outdated
Comment thread aip/auth/4115.md Outdated
Comment thread aip/auth/4115.md Outdated
@shinfan shinfan requested review from andyrzhao and removed request for tavishvaidya February 23, 2023 18:51
Copy link
Copy Markdown

@TimurSadykov TimurSadykov left a comment

Choose a reason for hiding this comment

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

This AIP, by the title, supposed to clarify default credentials for VMs. With this edit it is mostly focused on mTLS, which might not even be supported

Added comments to the doc

@theodorehu95 theodorehu95 requested review from TimurSadykov and removed request for andyrzhao March 3, 2023 18:39
@shinfan shinfan requested a review from andyrzhao March 3, 2023 18:55
Copy link
Copy Markdown

@TimurSadykov TimurSadykov left a comment

Choose a reason for hiding this comment

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

LGTM

Comment thread aip/auth/4115.md Outdated
- Google Cloud Functions
- Cloud Run
- Workload Identity on Google Kubernetes Engine
## Prerequisites
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.

This paragraph is not really a "prerequisite" but rather a description of the fallback logic in the absence of mTLS support. Furthermore, mTLS support detection mechanism is not fleshed out in the current state of things, and the ramifications extend beyond the scope of this AIP (as you stated.) I would suggest we move the contents of this paragraph into the guidance section and also frame it in the context of existing mTLS support which is enabled through ECP and SecureConnect, which is applicable even in Google Cloud VMs. For example, the PR https://github.com/googleapis/google-api-go-client/pull/1874/files gives precedent to clientCertSource as discovered by ADC. Along those lines, I would also add back the link to [Application Default Credential][2] and maybe even reference AIP-4114 in this doc. WDYT?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah. I moved the "prerequisite" to be part of the guidance and mentioned briefly that it should give priority to DCA. I am a bit hesitant to add more content related to ECP and SecureConnect, since IIUC these things are using DCA and as long as DCA takes precedence, they should be included with more details in DCA AIP if appropriate. WDYT?

Copy link
Copy Markdown
Contributor

@andyrzhao andyrzhao left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the updates!

@shinfan shinfan enabled auto-merge (squash) March 10, 2023 18:02
@shinfan shinfan disabled auto-merge March 10, 2023 18:02
@shinfan shinfan merged commit bd6c4b4 into aip-dev:master Mar 10, 2023
nitinapi pushed a commit to nitinapi/google.aip.dev that referenced this pull request Apr 5, 2023
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.

6 participants