-
Notifications
You must be signed in to change notification settings - Fork 495
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
Documentation to rotate enroll secrets appears incorrect #25755
Comments
Thanks @getvictor!
Today, how can I tell that a host won't get updated |
- Remove rotate enroll secret instructions because they're wrong: #25755
FYI @rachaelshaw I assigned myself this bug and the following related bug: |
@noahtalerman I'm not seeing the |
- Remove rotate enroll secret instructions because they're wrong: #25755 - Update contributor docs to simplify: #24309 --------- Co-authored-by: Rachael Shaw <[email protected]>
Docs corrected, bright, |
UPDATE: @noahtalerman: Opened a PR to remove the outdated docs here: #26999
https://fleetdm.com/docs/configuration/agent-configuration#options-and-command-line-flags:~:text=How%20to%20rotate%20enroll%20secrets%3A
The documentation states to run
SELECT * FROM orbit_info WHERE enrolled = false
to see if enroll secret is stale.Looking at the code, Orbit is enrolled as long as it has a valid secret-orbit-node-key.txt file, which is created at original enrollment. If that file is deleted or corrupted, Orbit will need to re-enroll. There is no way to tell whether the original enroll secret has expired. But we could add logic to check and/or update it.
Also, that brings up the question of whether we should be rotating the orbit node key.
The text was updated successfully, but these errors were encountered: