The Simplest Way to Make Honeycomb and SAML Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Putting honeycomb and saml together lets your team log in with one central identity. Your identity provider checks the user and sends a signed message to start a session. This workflow stops engineers from sharing passwords for trace data tools. When someone leaves the company, you turn off their account in one place. They lose entry to all system trace graphs right away. You also get a clear log of who opened the app and when. How honeycomb and saml handle logins and roles The login flow st

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.

Putting honeycomb and saml together lets your team log in with one central identity. Your identity provider checks the user and sends a signed message to start a session.

This workflow stops engineers from sharing passwords for trace data tools. When someone leaves the company, you turn off their account in one place. They lose entry to all system trace graphs right away. You also get a clear log of who opened the app and when.

How honeycomb and saml handle logins and roles

The login flow starts when an engineer opens the trace app or identity dashboard. In a provider-started flow, the user clicks the app icon in their login portal. In a service-started flow, the user types their work email on the trace login page.

Both paths ask the identity provider to check the user. The provider asks for a password and a second factor. Next, it builds an XML message signed with a private key. The user browser sends this signed message to the trace platform.

The trace platform checks the signature against a public key that you uploaded earlier. It reads the email and group names inside the message. If the user is new, the app can create an account on the spot. Group attributes can also place the user into the right team role.

Human logins are only half of the data flow. Your backend apps still send trace events using write keys. Browser logins use SAML, while backend services use separate write keys to send telemetry.

Common failure modes and how to scope roles

Teams hit trouble when they mix up human logins and machine keys. One common mistake is leaving password logins turned on after setting up single sign-on. If password login keeps the session active, someone can bypass your identity rules.

SAML 2.0 + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Another failure mode is giving every new user an owner role by default. If your provider sends a broad group attribute, any staff member might delete datasets. You should map specific group names to read-only or member roles instead. Only a small admin group should hold permission to change billing or delete traces.

Certificate expiry also breaks logins without warning. The public key linking the two tools has an end date. Put a reminder on your team calendar to swap keys before they expire.

Trace data often holds sensitive fields from live customer traffic. If a developer logs an email or card number, anyone with read rights sees it. Masking rewrites matched fields like emails, phone numbers, or card numbers in results. You should also scope read keys and team spaces so teams only view their own services.

Keeping API keys and trace queries safe

SAML protects the web UI, but engineers also run queries from local scripts. People often create shared query keys with broad permissions and pass them around in chat. If a laptop gets lost, that shared key stays active even after you revoke SAML.

To fix this, keep query keys tied to single services and rotate them often. Give each team a separate space inside the trace tool. Map your identity groups so backend engineers only read backend traces. Never let a single API key read and write across every dataset you own.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

What happens when an identity provider certificate expires?

Logins will fail for all users because the trace app rejects the signature. An admin must upload the new public key from the identity provider to fix it.

Does SAML control the keys that send trace data from servers?

No, SAML only controls human logins to the web interface. Your servers use separate write keys to send telemetry events to the trace collector.

How do we stop users from bypassing single sign-on with a password?

Turn on strict single sign-on enforcement in your team security settings. Keep one break-glass admin account stored in a safe vault for emergencies.

The query runs. The emails stay hidden.