Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for gcp #542

Draft
wants to merge 26 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
64529aa
wip for gcp config generation & loading configs
Eddie023 Oct 30, 2023
5746a00
added export functionality
meyerjrr Oct 30, 2023
bce93df
merge export functionality
meyerjrr Oct 30, 2023
b7037f5
merge in assume command for gcp
meyerjrr Oct 31, 2023
848216a
added ini support
meyerjrr Oct 31, 2023
2fbd38f
create commands for other shell types
meyerjrr Oct 31, 2023
e7cc79d
clean up
meyerjrr Nov 1, 2023
491401d
refactor getOsConfigLocation func
Eddie023 Nov 1, 2023
d750e96
add autocompletion for gcp configs
Eddie023 Nov 1, 2023
33ac2b5
minor fix
Eddie023 Nov 1, 2023
be7d901
clean up granted gcp cmd
Eddie023 Nov 1, 2023
46cb968
added extra environment variables
meyerjrr Nov 1, 2023
b612a26
merge
meyerjrr Nov 1, 2023
fcad93c
remove unused func
Eddie023 Nov 1, 2023
537eae6
Merge branch 'add-support-for-gcp' of github.com:common-fate/granted …
Eddie023 Nov 1, 2023
99e1430
fix merge conflict changes
Eddie023 Nov 1, 2023
8c5f621
add ability to populate region and zone field
Eddie023 Nov 1, 2023
022732e
added support for impersonating service accounts
meyerjrr Nov 2, 2023
460c342
fix flags
meyerjrr Nov 2, 2023
0179dc9
Merge branch 'add-support-for-gcp' of github.com:common-fate/granted …
meyerjrr Nov 2, 2023
1ccaee8
clean up
meyerjrr Nov 2, 2023
9baf979
updated assume scripts
meyerjrr Nov 2, 2023
e57d670
put impersonation functionality behind a flag
meyerjrr Nov 3, 2023
7ecb4be
clean up
meyerjrr Nov 3, 2023
09bf245
added comments
meyerjrr Nov 3, 2023
f5df8ed
clean up
meyerjrr Nov 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 24 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,19 @@ require (
github.com/common-fate/common-fate v0.15.0
github.com/fatih/color v1.13.0
github.com/lithammer/fuzzysearch v1.1.5
github.com/mattn/go-sqlite3 v1.14.17
github.com/schollz/progressbar/v3 v3.13.1
go.uber.org/zap v1.23.0
google.golang.org/api v0.128.0
gopkg.in/yaml.v3 v3.0.1
)

require (
cloud.google.com/go v0.110.7 // indirect
cloud.google.com/go/compute v1.23.0 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v1.1.1 // indirect
cloud.google.com/go/longrunning v0.5.1 // indirect
github.com/benbjohnson/clock v1.3.5 // indirect
github.com/common-fate/iso8601 v1.0.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
Expand All @@ -38,8 +45,12 @@ require (
github.com/go-chi/chi/v5 v5.0.7 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/swag v0.22.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/s2a-go v0.1.4 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.4 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
github.com/invopop/yaml v0.2.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
Expand All @@ -49,16 +60,23 @@ require (
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
go.opencensus.io v0.24.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/oauth2 v0.4.0 // indirect
golang.org/x/oauth2 v0.11.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.1 // indirect
google.golang.org/genproto v0.0.0-20230822172742-b8732ec3820d // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect
google.golang.org/grpc v1.59.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
)

require (
cloud.google.com/go/resourcemanager v1.9.3
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
github.com/BurntSushi/toml v1.2.1
github.com/aws/aws-sdk-go-v2/credentials v1.13.18
Expand All @@ -82,13 +100,13 @@ require (
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d
github.com/mtibben/percent v0.2.1 // indirect
github.com/olekukonko/tablewriter v0.0.5
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/stretchr/testify v1.8.4
go.uber.org/ratelimit v0.3.0
golang.org/x/sync v0.1.0
golang.org/x/sync v0.3.0
golang.org/x/sys v0.13.0
golang.org/x/term v0.13.0 // indirect
golang.org/x/text v0.13.0
Expand Down
155 changes: 143 additions & 12 deletions go.sum

Large diffs are not rendered by default.

Loading
Loading