Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

feat: adding meta header for trust boundary#1334

Merged
BigTailWolf merged 11 commits intogoogleapis:mainfrom
BigTailWolf:b286458865
Jun 29, 2023
Merged

feat: adding meta header for trust boundary#1334
BigTailWolf merged 11 commits intogoogleapis:mainfrom
BigTailWolf:b286458865

Conversation

@BigTailWolf
Copy link
Contributor

For most base class google.auth.credentials.Credentials, expose a field _trust_boundary default to None.
During the before_request. Apply the value to X-Identity-Trust-Boundary field if it's not None.

For planned credential types (service account and 3PI credentials) google.oauth2.service_account.Credentials and google.auth.external_account.Credentials. We inject an empty string value in constructor in order to have that field to be exposed during before_request.

@BigTailWolf BigTailWolf requested review from a team June 13, 2023 22:37
@BigTailWolf BigTailWolf requested a review from a team as a code owner June 13, 2023 22:37
@lsirac lsirac added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jun 13, 2023
@BigTailWolf BigTailWolf added the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 26, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 26, 2023
@lsirac lsirac removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jun 28, 2023
@BigTailWolf BigTailWolf added the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 29, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 29, 2023
@BigTailWolf BigTailWolf merged commit 908c8d1 into googleapis:main Jun 29, 2023
@BigTailWolf BigTailWolf deleted the b286458865 branch June 29, 2023 20:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants