mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 17:53:28 +00:00
e0d6c1de49
* Integrations: web api and tclt This PR adds end user interface to manage integrations: `tctl` ``` $ tctl get integrations --config teleport.yaml --format text Name Type Spec ----------- -------- ---------------------------------------------- myawsint aws-oidc RoleARN=arn:aws:iam::123456789012:role/DevTeam mynewawsint aws-oidc RoleARN=arn:aws:iam::123456789012:role/OpsTeam ``` HTTP API ``` $ curl 'https://127.0.0.1.nip.io:3080/v1/webapi/sites/lenix/integrations' { "items": [ { "name": "myawsint", "subKind": "aws-oidc", "awsOIDC": { "roleARN": "arn:aws:iam::123456789012:role/DevTeam" } }, { "name": "mynewawsint", "subKind": "aws-oidc", "awsOIDC": { "roleARN": "arn:aws:iam::123456789012:role/OpsTeam" } } ], "nextKey": "" } ``` * Add explicit type * add awsoidc role arn setter * change serializer * ignore bodyclose linter false positive * check for error before reading * simplify webPack.DoRequest call * fix godoc of WebClientPack.DoRequest * return body and status code only |
||
---|---|---|
.. | ||
appaccess | ||
conntest | ||
db | ||
helpers | ||
hsm | ||
integrations | ||
kube | ||
proxy | ||
agent_forwarding_test.go | ||
client_test.go | ||
ec2_test.go | ||
hostuser_test.go | ||
integration.go | ||
integration_test.go | ||
kube_integration_test.go | ||
main_test.go | ||
port_forwarding_test.go | ||
ports.go | ||
teleterm_test.go | ||
terminal_test.go | ||
utmp_integration_test.go |