Skip to content
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

Skip incomplete users in listUsersWithSecrets #38655

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

espadolini
Copy link
Contributor

SSO users expire after their session ends, so they won't have a /params but they can still have other items in their key range (MFA devices, for example). This PR makes it so that listUsersWithSecrets simply skips over users that don't have a /params subkey.

Fixes #38028

changelog: fix error in tctl get users --with-secrets when using SSO

@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from kimlisa February 27, 2024 01:06
@espadolini espadolini added this pull request to the merge queue Feb 27, 2024
Merged via the queue into master with commit 94b4b86 Feb 27, 2024
37 checks passed
@espadolini espadolini deleted the espadolini/skip-incomplete-users branch February 27, 2024 08:51
@public-teleport-github-review-bot

@espadolini See the table below for backport results.

Branch Result
branch/v15 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tctl get all --with-secrets fails with expired SSO users
3 participants