Files
teleport/lib/integrations/samlidp
Sakshyam Shah b71b02b07b feat: adds samlidp gcp-workforce command to teleport cli (#39820)
* configure GCP workforce api client

* add 'integration configure samlidp gcp-workforce' command to teleport ctl

* update api to fetch metadata file from remote Teleport prox.
- minor comment copy and log copy edits

* gcp resource name validation, checkandsetdefault funcs

* use gcp-workforce subcommand path, rename gcpworkforce config as APIParams

* return early on pending provider status

* update comments and godoc

* use slog

* apply review suggestions:
- use 2*minute instead of 120*seconds
- use default http client and add redirect to the client
- NewGCPWorkforceService test

* update logger to use InfoContext. improve wait message, run fix-imports

* update ticker to 5 second from 1 second

* use underscore in log field instead of space. add missing trace.Wrap in waitForPoolStatus

* update NewGCPWorkforceService comment

* review suggestions:
- increase wait timer to 5 mins
- iamv1 migration comment
- move http redirect checker to checkAndSet default

* check for 409 response so that pool provider create op can continue if we timedout after creating pool

* fix package import comment style to make linter happy

* move default http client to gcpworkforce service checkandset defaults. update tests to relax on httpclient input param
2024-03-27 21:16:39 +00:00
..