Skip to content

An user was deleted by tctl still connect to node service #5962

Answered by webvictim
botranvan asked this question in Q&A
Discussion options

You must be logged in to vote

This behaviour is working as intended. When Teleport issues a user certificate with tsh login, that certificate remains valid until it expires (8 hours by default - this time can be changed using the options.max_session_ttl RBAC parameter). The user will not be able to get a new certificate after expiry using tsh login if they have been deleted.

This is different if using the Teleport web UI, where the user will lose access to Teleport as soon as they refresh the page or try to open a new session.

We are planning to implement active session termination and certificate revocation in a future version of Teleport. For now, here's a few potential workarounds:

  1. set the certificate TTL lower
  2. fo…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by webvictim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants