teleport/integration
Noah Stride 3fba50261f
Introduce ProvisionTokenV3 (#16361)
* Introduce proto types for ProvisionTokenV3

* Add methods to ProvisionTokenV3 to support ProvisionToken iface

* Start building v3 support into the client

* add support for mashalling and unmarshalling ProvisionTokenV3

* Start unit testing ProvisionTokenV3

* Remove oneof to support yaml marshal/unmarshal

* Client should try V3 methods and fallback to v2

* More tests

* Fix join tests

* Fix integration tests

* Switch integration tests to use v3 spec

* Switch iam tests to use ProvisionTokenV3

* Change ec2 join tests to use V3 tokens

* Fix events tests for V3 token

* support ProvisionTokenV3 within API client events handler

* Explicitly specify JoinMethod

* Tidy up final usage of NewProvisionTokenV2FromSpec in tests

* Improve proto docs on ProvisionTokenV3

* Fix bot join tests

* Clarify error message for invalid join method

* Adjust resource version comment

* Fix comments and return error rather than bool in V2() method

* Catch incompatible conversions case

* Include V2 ProvisionToken in tests and add appropriate DELETE IN notes

* Fix linter warnings/unit test failures

* Use nolint rather than lint:ignore

* Add more DELETE IN notes

* Run goimports on join_ec2_test.go

* Address PR comments from tim.

* Add more deprecation/delete in notices

* Improve godoc comments on checkAndSetDEfaults for provider config

* Simplify implementation by dropping client-ahead compatability

* Add some support for client-ahead but with conversion to v3

* Update code comments to include responsible party

* Rename `Role` to `RoleARN` in EC2 configuration for clarity

* Fix tests for Role -> RoleARN rename

* Move MustCreateProvisionToken out of API and into test packages

* Properly go imports files
2022-09-27 17:05:32 +00:00
..
appaccess Fix flaky integration test: TestAppServersHA/RootServer (#16628) 2022-09-23 13:01:52 +02:00
db Break DB integration tests out into their own package (#16133) 2022-09-07 11:04:35 +10:00
helpers Introduce ProvisionTokenV3 (#16361) 2022-09-27 17:05:32 +00:00
hsm Use a getter/setter for reading the token value from the config (#14080) 2022-08-10 08:50:21 +00:00
kube Split out appaccess and proxy integration tests (#16232) 2022-09-08 08:27:51 -06:00
proxy Introduce ProvisionTokenV3 (#16361) 2022-09-27 17:05:32 +00:00
agent_forwarding_test.go Security fixes (#13298) 2022-06-08 18:12:45 +00:00
client_test.go Split out appaccess and proxy integration tests (#16232) 2022-09-08 08:27:51 -06:00
ec2_test.go Introduce ProvisionTokenV3 (#16361) 2022-09-27 17:05:32 +00:00
hostuser_test.go Update WebAuthn and U2F dependencies (#16572) 2022-09-22 17:08:47 +00:00
integration.go Break DB integration tests out into their own package (#16133) 2022-09-07 11:04:35 +10:00
integration_test.go Introduce ProvisionTokenV3 (#16361) 2022-09-27 17:05:32 +00:00
kube_integration_test.go Introduce ProvisionTokenV3 (#16361) 2022-09-27 17:05:32 +00:00
main_test.go Update golangci-lint to 1.49.0 (#16507) 2022-09-19 22:38:59 +00:00
port_forwarding_test.go Remove more integration test port list allocations (#16266) 2022-09-14 06:53:19 +00:00
ports.go Remove more integration test port list allocations (#16266) 2022-09-14 06:53:19 +00:00
terminal_test.go Remove centralised port allocation for tests (#13658) 2022-07-20 12:04:54 +10:00
utmp_integration_test.go Use testauthority instead of native to generate keys in tests (#16486) 2022-09-21 20:53:09 +00:00