The Simplest Way to Make Checkmk and Webauthn Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Using checkmk and webauthn together lets ops teams log in with hardware keys. This setup stops password theft and protects server checks in production. Teams use Checkmk to watch servers, networks, and apps around the clock. These dashboards hold critical system data and alert controls. If a bad actor steals a password, they can mute alerts or view network maps. Adding WebAuthn requires a physical tap on a security key or a biometric check. This simple workflow locks down the dashboard without

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Using checkmk and webauthn together lets ops teams log in with hardware keys. This setup stops password theft and protects server checks in production.

Teams use Checkmk to watch servers, networks, and apps around the clock. These dashboards hold critical system data and alert controls. If a bad actor steals a password, they can mute alerts or view network maps. Adding WebAuthn requires a physical tap on a security key or a biometric check. This simple workflow locks down the dashboard without blocking down daily incident work.

How checkmk and webauthn handle logins and roles

When a user opens Checkmk, the server asks for a primary login first. Then, the browser runs the WebAuthn prompt for the second step. The user taps a hardware key or uses a built-in device sensor. The browser checks the domain name and sends a signed message back to Checkmk. The private key stays inside the user device at all times. Checkmk only stores the public key and checks the math on the signed message.

Once the login succeeds, Checkmk loads the internal role for that specific user. WebAuthn proves who the person is, while Checkmk decides what they can do. Admins can read and write rules, add hosts, and change alert steps. Regular users or view-only roles can only read status pages and check logs. Teams can also tie these logins to a central identity tool using SAML or OIDC. In that flow, the identity tool handles the WebAuthn check before sending the user role to Checkmk.

Common failure modes and how to scope access

Many teams set up strong logins for humans but leave shared accounts wide open. Scripts and chat bots often use a single admin account with a static secret. If that shared secret leaks, an attacker skips the WebAuthn check through the API. Another common mistake is giving every engineer full admin rights inside Checkmk. Broad roles let anyone change check commands or read sensitive host details.

To fix this, give every human and script a separate account with small roles. Turn off human web logins for accounts that only run API scripts. Limit each script account so it can only read or write the exact data it needs. Require every human admin to register at least two WebAuthn keys. Having a backup key stops lockouts when a laptop breaks or a token gets lost. Also, restrict network paths so only trusted office or VPN networks can reach the Checkmk web port. Log every login attempt and role change so the security team can audit activity.

FIDO2 / WebAuthn + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Managing daily operations and key life cycles

Good security needs clear rules for adding and removing keys over time. When a new engineer joins the team, they should register their own hardware keys on day one. Admins should check the user list each month to remove old keys and inactive accounts. If a team member loses a key, revoke that specific credential right away in the user settings.

Keep break-glass admin accounts locked away for rare outages when identity servers go down. Protect those backup accounts with long passwords stored in a team vault and a dedicated hardware key. Test these backup logins four times a year so the team knows they work. Clear role limits and hardware keys keep monitoring tools safe during busy incidents.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

Can API scripts use WebAuthn to talk to Checkmk?

No, WebAuthn needs a browser and a human action like a tap. Use scoped automation accounts with separate API secrets and strict IP rules for scripts.

What happens if an engineer loses their hardware security key?

The engineer can log in with a backup key if they registered two devices. Otherwise, an admin must reset their second factor inside the Checkmk user settings.

Does WebAuthn replace role permissions inside Checkmk?

No, WebAuthn only checks identity during the login step. You still need to set up Checkmk roles to limit who can edit hosts or view sensitive checks.

The query runs. The emails stay hidden.