This commit is contained in:
Patrick Jones
2021-06-10 14:55:56 -07:00
parent add9801363
commit e035bf9673
2 changed files with 8 additions and 9 deletions

View File

@@ -2,7 +2,7 @@
Package downscope implements the ability to downwcope, or restrict, the Package downscope implements the ability to downwcope, or restrict, the
Identity and AccessManagement permissions that a short-lived Token Identity and AccessManagement permissions that a short-lived Token
can use. Please note that only Google Cloud Storage supports this feature. can use. Please note that only Google Cloud Storage supports this feature.
*/ */
package downscope package downscope
import ( import (

View File

@@ -63,7 +63,6 @@ func Example() {
availableResource := "//storage.googleapis.com/projects/_/buckets/foo" availableResource := "//storage.googleapis.com/projects/_/buckets/foo"
availablePermissions := []string{"inRole:roles/storage.objectViewer"} availablePermissions := []string{"inRole:roles/storage.objectViewer"}
// Initializes an accessBoundary // Initializes an accessBoundary
myBoundary := AccessBoundary{make([]AccessBoundaryRule, 0)} myBoundary := AccessBoundary{make([]AccessBoundaryRule, 0)}