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

Document current process for discovering the enrollment secret #25

Merged
merged 1 commit into from
Mar 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ environment.etc."kolide-k2/secret" = {
};
```

The enrollment secret can be discovered by viewing `/etc/kolide-k2/secret` (on macOS/Linux)
or `C:\Program Files\Kolide\Launcher-kolide-k2\conf\secret` (on Windows) on an existing
installation. If an existing installation is not available, then the secret may be extracted
from one of the packages available for your tenant -- e.g. you can download `kolide-launcher.deb`,
run `nix-shell -p dpkg` to make the `dpkg-deb` tool available, and then use `dpkg-deb` to extract
the contents of the deb and view the resulting `<archive directory>/etc/kolide-k2/secret` file.

In `/etc/nixos/configuration.nix`, ensure that the kolide-launcher service is enabled:

```
Expand Down
Loading