Skip to content

Commit

Permalink
feat: define CredentialAccessBoundary classes (#793)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bojeil-google committed Jul 8, 2021
1 parent 4fd84bd commit d883921
Show file tree
Hide file tree
Showing 2 changed files with 790 additions and 0 deletions.

0 comments on commit d883921

Please sign in to comment.