This repository was archived by the owner on Mar 6, 2026. It is now read-only.
feat: define CredentialAccessBoundary classes#793
Merged
tseaver merged 2 commits intogoogleapis:masterfrom Jul 8, 2021
bojeil-google:downscoping-cab
Merged
feat: define CredentialAccessBoundary classes#793tseaver merged 2 commits intogoogleapis:masterfrom bojeil-google:downscoping-cab
CredentialAccessBoundary classes#793tseaver merged 2 commits intogoogleapis:masterfrom
bojeil-google:downscoping-cab
Conversation
Defines the following classes: - `google.auth.downscoped.CredentialAccessBoundary` - `google.auth.downscoped.AccessBoundaryRule` - `google.auth.downscoped.AvailabilityCondition` This is based on [Downscoping with Credential Access Boundaries](https://cloud.google.com/iam/docs/downscoping-short-lived-credentials). These classes help define the list of access boundary rules, each of which contains information on the resource that the rule applies to, the upper bound of the permissions that are available on that resource and an optional condition to further restrict permissions.
Contributor
Author
|
Note to reviewers. The failing tests seem to be unrelated to this change. |
Contributor
|
@busunkim96 Seems the refresh token is expired/revoked again for the system test. Does the user account have token rotations now? |
Contributor
|
@arithmetic1728 Nope the process for getting that approved has been rather slow. I'll rotate it again in a separate PR. |
arithmetic1728
approved these changes
Jul 8, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Defines the following classes:
google.auth.downscoped.CredentialAccessBoundarygoogle.auth.downscoped.AccessBoundaryRulegoogle.auth.downscoped.AvailabilityConditionThis is based on Downscoping with Credential Access Boundaries.
These classes help define the list of access boundary rules,
each of which contains information on the resource that the rule
applies to, the upper bound of the permissions that are available
on that resource and an optional condition to further restrict
permissions.