-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 IAM Method support to Wizard #10972
Comments
Here's a PR adding capabilities for the web ui generate a iam method join token using the web API: #11339 We can add a new tab Here's a proposal, please let me know your thoughts: The docs suggest that this method could be used for starting multiple agents, maybe we should add this information and allow the user to set a custom TTL? Draft PR for this proposed solution: gravitational/webapps#690 |
I should point out that it's valid to set just the AWS account, just the AWS ARN, or both. Also there's currently no way to start a node to join with the IAM method from just the command line, a config file is necessary. Could pretty easily add the necessary command line args though to avoid the config file. |
I see, thanks for pointing that out
I was able to start a node with the command line like this, am I missing something?: sudo /usr/local/bin/teleport start --roles=node --token=iam-token --auth-server=https://matheus13.cloud.gravitational.io:443
2022-03-23T13:10:59Z INFO [PROC:1] Connecting to the cluster matheus13.cloud.gravitational.io with TLS client certificate. service/connect.go:146
2022-03-23T13:11:01Z INFO [PROC:1] Node: features loaded from auth server: Kubernetes:true App:true DB:true OIDC:true SAML:true AccessControls:true AdvancedAccessWorkflows:true Cloud:true HSM:true service/connect.go:64
2022-03-23T13:11:03Z [NODE:1:CA] INFO Cache "node" first init succeeded. cache/cache.go:716
2022-03-23T13:11:03Z INFO [AUDIT:1] Creating directory /var/lib/teleport/log. service/service.go:2113
2022-03-23T13:11:03Z INFO [AUDIT:1] Creating directory /var/lib/teleport/log/upload. service/service.go:2113
2022-03-23T13:11:03Z INFO [AUDIT:1] Creating directory /var/lib/teleport/log/upload/sessions. service/service.go:2113
2022-03-23T13:11:03Z INFO [AUDIT:1] Creating directory /var/lib/teleport/log/upload/sessions/default. service/service.go:2113
2022-03-23T13:11:03Z INFO [AUDIT:1] Creating directory /var/lib/teleport/log. service/service.go:2113
2022-03-23T13:11:03Z INFO [AUDIT:1] Creating directory /var/lib/teleport/log/upload. service/service.go:2113
2022-03-23T13:11:03Z INFO [AUDIT:1] Creating directory /var/lib/teleport/log/upload/streaming. service/service.go:2113
2022-03-23T13:11:03Z INFO [AUDIT:1] Creating directory /var/lib/teleport/log/upload/streaming/default. service/service.go:2113
2022-03-23T13:11:03Z INFO [NODE:1] Service is starting in tunnel mode. service/service.go:2025
2022-03-23T13:11:03Z INFO [PROC:1] The new service has started successfully. Starting syncing rotation status with period 10m0s. service/connect.go:459
2022-03-23T13:11:04Z [NODE:PROX] INFO Connected. addr:172.31.34.115:49244 remote-addr:13.248.223.84:443 leaseID:1 target:matheus13.cloud.gravitational.io:443 reversetunnel/agent.go:403
2022-03-23T13:11:05Z [NODE:PROX] INFO Connected. addr:172.31.34.115:49248 remote-addr:13.248.223.84:443 leaseID:2 target:matheus13.cloud.gravitational.io:443 reversetunnel/agent.go:403 |
@mcbattirola it should not work unless there is already an identity in |
I see, that is exactly what was happening. |
but like I said above, it should be quite easy to add a |
Here are some updates:
The user can add one or multiple rules for the token Step two (Copy and run We need a button to generate the token/command after the user is done inputting their rules. @nklaassen @xinding33 does that make sense to you? |
PRs:
|
All branches merged (#10972 (comment)) |
Cloud is waiting for release 8.3.8 or 9.1.0 |
Investigate and propose adding IAM method support to the "Add Server" wizard.
The text was updated successfully, but these errors were encountered: