feat: OnCreateCatalog (#8)

* feat: OnCreateCatalog

- Update onCreateCatalog to support credential rotation. Service authentication type creds will be rotated since we will have the credentials for the base service account without sufficient permissions.
- `onCreateCatalog` will also do a dry run validation to validate the credentials.
- The secrets and last rotated time will be returned
This commit is contained in:
Elim Tsiagbey authored and GitHub committed 2024-10-21 10:47:06 -04:00
1 parent 636432f2fb
commit 6b917b170d
14 files changed
+992 -90

No files matched your search

+2 -1
View File
@@ -5,6 +5,8 @@ go 1.21
require (
cloud.google.com/go/iam v1.2.0
cloud.google.com/go/resourcemanager v1.10.1
github.com/google/go-cmp v0.6.0
github.com/googleapis/gax-go/v2 v2.13.0
github.com/hashicorp/boundary/sdk v0.0.47
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8
golang.org/x/oauth2 v0.22.0
@@ -23,7 +25,6 @@ require (
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/google/s2a-go v0.1.8 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.3 // indirect
github.com/googleapis/gax-go/v2 v2.13.0 // indirect
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
github.com/hashicorp/go-sockaddr v1.0.5 // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect