The Simplest Way to Make Cyberark and Domino Data Lab Work Like They Should
Teams pair cyberark and domino data lab to keep database keys out of notebooks. CyberArk holds secret keys while Domino Data Lab runs model training jobs. Data scientists need production data to build and test models. Security teams must guard the keys that open those data stores. Pairing these two tools lets analysts run code without hardcoding plain text passwords. How cyberark and domino data lab share roles and permissions In a standard setup, CyberArk stores and rotates secrets for inte
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.
Teams pair cyberark and domino data lab to keep database keys out of notebooks. CyberArk holds secret keys while Domino Data Lab runs model training jobs.
Data scientists need production data to build and test models. Security teams must guard the keys that open those data stores. Pairing these two tools lets analysts run code without hardcoding plain text passwords.
How cyberark and domino data lab share roles and permissions
In a standard setup, CyberArk stores and rotates secrets for internal databases. Domino Data Lab provides the workspaces where data scientists write and run code. When a workspace starts, it needs a valid credential to read training tables.
First, the user logs in to Domino Data Lab through a central identity provider. Next, the workspace requests a secret from the CyberArk vault using an app identity. CyberArk checks the policy rules for that specific project role. If the role matches, CyberArk returns the database credential to the running workspace.
The workspace then uses that credential to start a database session. Data flows from the database into the notebook memory for model training. When the scheduled job ends, the workspace shuts down and wipes local memory. Meanwhile, CyberArk rotates the stored database password on a set timer.
Common failure modes in data science workspaces
Many teams still fall back on shared service accounts for whole departments. One vault safe gets tied to every workspace in a project. If five analysts share one role, audit logs show only the shared account. Security teams cannot tell which user ran a heavy or risky query.
Broad permissions create another big gap during model training runs. Once a notebook pulls a database password from the vault, that keeps the session active. The credential often allows full table reads across many schemas at once. An analyst or script can pull raw emails, phone numbers, or card numbers.
End-to-End Encryption + CyberArk Conjur: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Unlogged queries also hurt security reviews and incident checks. A vault log only proves that a workspace fetched a secret at noon. It does not record the exact SQL queries the notebook ran after that. Plus, users can still print the fetched password inside a notebook cell.
How to scope roles and network paths
Start by breaking apart shared project accounts into narrow, task-specific roles. Map each Domino Data Lab project to its own dedicated role in CyberArk. Grant each role read-only permissions on the exact database views needed for training. Never give model training jobs permission to drop tables or alter schemas.
Lock down network paths between the workspace cluster and your data stores. Only allow traffic from verified workspace nodes to reach the vault API. Set short rotation timers on every database role stored in CyberArk. Add data masking rules so queries rewrite card numbers and national IDs in results.
Finally, review vault logs alongside database query logs every week. Check for workspaces that fetch secrets outside normal work hours. Remove old project roles as soon as a model moves out of testing. Clear role boundaries keep both security teams and data scientists moving fast.
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
How do notebooks get secrets from CyberArk?
Workspaces use an assigned app identity to call the CyberArk API at startup. The secret loads into memory as a variable instead of plain text code.
Why are shared vault roles risky for data science teams?
Shared roles hide individual user actions inside the database logs. If a bad query runs, you cannot trace which notebook user wrote it.
Can vault rotation alone protect sensitive training data?
No, secret rotation only manages who can start a database session. You still need narrow database permissions and field masking for emails and phone numbers.
Related guides
In this post