teleport
teleport copied to clipboard
MFA for App Access - `tsh` for cloud apps
Adds MFA for Cloud App access support with:
- extended TTL mfa-verified certs for proxy requests
- Automatic certificate renewal
- Automatic local CA renewal
(2) and (3) are important for users with a low max_session_ttl setting, which is common in per-session MFA setups.
Many refactors were required to obtain feature parity with tsh proxy app and avoid duplicated logins and other accumulated cruft in the previous implementation.
TODO:
- [x] Enable the reuse of 1-minute TTL certs for flows like
tsh apps login awsconsole && tsh aws ...to avoid re-logins - [ ] Manual testing (before merging)
- [x] AWS
- [ ] Azure
- [ ] GCP