The Simplest Way to Make Domino Data Lab and Webauthn Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Pairing domino data lab and webauthn gives data science teams hardware-backed login checks for every workspace. This setup stops password theft and binds every notebook run to a verified human user. Data teams run big models and read raw datasets every day. When users log in with weak passwords, attackers can steal those keys. WebAuthn fixes this risk by using local device keys or hardware tokens. You link both tools through your central identity provider using standard login protocols. How l

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.

Pairing domino data lab and webauthn gives data science teams hardware-backed login checks for every workspace. This setup stops password theft and binds every notebook run to a verified human user.

Data teams run big models and read raw datasets every day. When users log in with weak passwords, attackers can steal those keys. WebAuthn fixes this risk by using local device keys or hardware tokens. You link both tools through your central identity provider using standard login protocols.

How login and data flow between domino data lab and webauthn

Domino Data Lab does not store WebAuthn public keys on its own servers. Instead, it trusts an external identity provider that handles the browser login flow. When a user opens a workspace, the platform sends them to the identity provider. The identity provider asks the browser for a WebAuthn signature from a passkey.

The user touches a hardware key or uses a local device sensor. The browser signs a challenge and sends it back to the identity provider. Once the check passes, the identity provider sends a signed token to the data platform. This token carries the user identity and group roles for that session.

The platform reads those group roles to set project and dataset permissions. Data scientists then launch notebooks and jobs under their own verified identity. This flow keeps private keys inside the user device at all times. No shared passwords cross the network during the login step.

Common failure modes and how to scope roles

A strong WebAuthn login only protects the front door of your data platform. Trouble starts after login when teams use long-lived API keys inside notebooks. Users often paste shared database passwords into project files to read production tables. If a token leaks, an attacker can skip the WebAuthn check.

Shared service accounts also break your audit logs across backend data stores. When ten data scientists share one database user, you lose track of who ran what. You can see who logged into the workspace, but not who queried the table. Unlogged queries also make it hard to spot bad data reads.

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

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To fix this, map identity provider groups to narrow project roles. Give each team access only to the projects they need for daily work. Replace static API keys with short-lived session tokens tied to the active login. Require a fresh WebAuthn check before a user opens a sensitive project.

You should also lock down network paths between compute nodes and production databases. Do not let every notebook reach every database port on your internal network. Scope database roles so read jobs cannot write or drop production tables. Use field masking to rewrite emails, phone numbers, card numbers, and national IDs in results.

Keeping audit logs clear across data workflows

Security teams need a clear trail from the browser login to the database query. Start by logging every WebAuthn check inside your central identity provider. Record the device type, the user name, and the time of the login. Pass that same user identity down to the compute cluster.

When a notebook runs a query, attach the user identity to the database log. This link lets you trace any odd query back to a human user. Review these logs each week to find unused roles and stale project permissions. Remove old group mappings as soon as a project ends.

Add runtime guardrails and masking beside your databases and APIs

Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.

Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.

Frequently asked questions

Does Domino Data Lab support WebAuthn without an identity provider?

No, the platform relies on an external identity provider to run WebAuthn checks. You set up passkeys or hardware keys inside your identity provider first. Then you link the data platform to that provider using standard single sign-on.

How do CLI users log in when WebAuthn is required?

CLI tools open a local browser window to complete the WebAuthn login flow. After the user taps their security key, the browser passes a short-lived token back. The CLI uses that token to run jobs without storing a raw password.

How do we stop data leaks inside shared notebooks?

Never store raw database passwords inside notebook code or shared project files. Scope roles per user and apply data masking on sensitive columns like card numbers. This ensures query results rewrite private fields before they reach the notebook screen.

The query runs. The emails stay hidden.