Skip to content

[v16] Machine ID: Warn when returned cert TTL is less than expected (#52833)#53103

Merged
timothyb89 merged 1 commit intobranch/v16from
timothyb89/v16/tbot-warn-on-early-expiration
Mar 19, 2025
Merged

[v16] Machine ID: Warn when returned cert TTL is less than expected (#52833)#53103
timothyb89 merged 1 commit intobranch/v16from
timothyb89/v16/tbot-warn-on-early-expiration

Conversation

@timothyb89
Copy link
Copy Markdown
Contributor

@timothyb89 timothyb89 commented Mar 18, 2025

Backport of #52833 for branch/v16

Contains some tweaks to account for some v17-only changes, namely introduction of the CredentialLifetime struct.

changelog: Machine ID: Added warning when generated certificates will not last as long as expected


  • Machine ID: Warn when returned cert TTL is less than expected

This adds a warning when the returned certificate TTL is lower than requested, which can happen if max_session_ttl is set in a bot role.

Fixes #29579

  • Add warning on most outputs; add TODO comment for future improvements

  • Mute slonglint false positivess

* Machine ID: Warn when returned cert TTL is less than expected

This adds a warning when the returned certificate TTL is lower than
requested, which can happen if `max_session_ttl` is set in a bot
role.

Fixes #29579

* Add warning on most outputs; add TODO comment for future improvements

* Mute slonglint false positivess
@timothyb89 timothyb89 added this pull request to the merge queue Mar 19, 2025
Merged via the queue into branch/v16 with commit cd7faf5 Mar 19, 2025
41 of 42 checks passed
@timothyb89 timothyb89 deleted the timothyb89/v16/tbot-warn-on-early-expiration branch March 19, 2025 17:54
@doggydogworld doggydogworld mentioned this pull request Mar 28, 2025
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.

3 participants