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

Published
Length
3 min read

Luis Felipe Dias

All posts

Pairing domino data lab and vs code lets data teams write code on cloud compute. Engineers keep their local editor habits while running heavy jobs on remote machines. Data scientists love their local code editors. They know every shortcut and extension by heart. Moving to a cloud data platform often breaks this flow. Browser editors can feel slow and lack custom tools. Linking your local editor to remote compute solves this problem. Your team gets big cloud power inside a familiar coding tool.

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 vs code lets data teams write code on cloud compute. Engineers keep their local editor habits while running heavy jobs on remote machines.

Data scientists love their local code editors. They know every shortcut and extension by heart. Moving to a cloud data platform often breaks this flow. Browser editors can feel slow and lack custom tools. Linking your local editor to remote compute solves this problem. Your team gets big cloud power inside a familiar coding tool. You also keep data off local laptops.

How domino data lab and vs code share logins and data

The link between these two tools relies on remote workspace sessions. First, a user starts a new workspace inside the data platform. The platform spins up a remote container with the right hardware and libraries. Next, the user links their local editor to that running container. This link uses a network tunnel or a browser session.

Logins happen through user keys or single sign-on tokens. The local editor reads a local key file to prove who the user is. Once checked, the editor opens the remote project folder. Files stay on the remote cloud disk during the whole session. Only screen updates and text changes cross the network wire. When the user runs a script, the cloud machine does the work.

Database calls also happen from the remote container. The code reads database keys stored inside the platform project settings. Results return to the remote memory and show up in the local editor window. Data teams do not need to copy big files to their own machines.

Common failure modes and how to scope roles

This setup works well, but security gaps often show up in production. The biggest risk is long-lived API keys stored on developer laptops. If a laptop gets lost, an attacker can read those plain text keys. They can then spin up workspaces and read private company data.

Shared service accounts create another big problem for platform teams. Teams often put one shared database password into a shared project space. Every user who opens that project in their editor uses the same database role. When a bad query slows down the database, audit logs show only the shared account. You cannot tell which person ran the query from their editor.

Infrastructure as Code Security Scanning + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Broad network paths also put systems at risk. A remote workspace often gets wide network reach to internal databases. Any extension installed in the code editor runs inside that same space. A bad extension could use those open paths to read sensitive tables. Masking rules can help here by rewriting emails and card numbers in query results.

To fix these issues, teams must scope down roles and network paths. Replace static user keys with short-lived login tokens tied to your identity provider. Give each user a unique role for data reads instead of sharing project passwords. Lock down container network rules so workspaces only reach approved data stores. Log every command and query at the user level for clear audit trails.

Best practices for day to day team workflows

Keep your base container images lean and pre-loaded with approved editor plugins. Downloading plugins every time a workspace starts wastes time and network bandwidth. Store project settings in version control so the whole team uses the same rules. Set idle timers on all remote workspaces so forgotten editor sessions shut down on their own. This simple step saves cloud budget and closes open network links at night.

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

Can I use my local editor extensions on a remote workspace?

Yes, you can run extensions on the remote machine. UI themes run locally, while code linters and debuggers run inside the remote container.

Does source code stay on my laptop when the workspace stops?

No, the files live on the remote volume managed by the data platform. You must push changes to version control or sync them before stopping the job.

How do we stop users from reading sensitive rows in their editor?

Use role-based database permissions and data masking rules on your data stores. Masking rewrites matched fields like phone numbers and national IDs in query results.

The query runs. The emails stay hidden.