The Simplest Way to Make Opslevel and VS Code Work Like They Should
Using opslevel and vs code together brings service catalog rules straight into your local code editor. Developers can check service ownership, maturity grades, and deploy status without leaving their code files. This workflow saves time during daily coding tasks and code reviews. Engineers do not need to open a web browser just to find service owners. They can see who owns an app right next to the source code. They can also fix missing metadata before they push a single commit. How opslevel a
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 opslevel and vs code together brings service catalog rules straight into your local code editor. Developers can check service ownership, maturity grades, and deploy status without leaving their code files.
This workflow saves time during daily coding tasks and code reviews. Engineers do not need to open a web browser just to find service owners. They can see who owns an app right next to the source code. They can also fix missing metadata before they push a single commit.
How opslevel and vs code share data and keys
The two tools talk to each other through API calls over HTTPS. The editor reads local service files that describe the app in your git repo. It sends this data to the catalog API to check your team rules. Then the catalog sends back grades, owner names, and alert links to the editor.
To make this work, each developer needs a personal API key. The developer logs into the catalog and makes a key tied to their user role. They store this key inside the local editor secret store on their laptop. The editor uses this key to sign every request it sends out.
Role permissions in the catalog control what the editor can read or write. Most developers only need read permissions to check grades and see service owners. Team leads might need write permissions to update service definitions from their local files. Scoping these roles keeps one bad edit from breaking the whole service catalog.
Common failure modes and how to scope roles
Teams often take shortcuts when they set up local editor tools. The biggest mistake is sharing one static service account key across the whole team. If one laptop gets lost, you must revoke the key for every developer. Worse, shared keys make audit logs useless because every edit looks the same.
Broad API keys cause another big problem for security teams. A key with admin rights lets an editor plugin change production catalog rules by mistake. If an attacker steals that broad key, they can read all internal system maps. They can also alter service ownership records or delete key check history.
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.
Unlogged queries from local laptops also create blind spots during security audits. When developers run checks or pull system data, teams need a clear log. You should know which user ran a check and what data they pulled. Without clear logs, you cannot track who changed a critical service tier.
To fix these issues, give every engineer their own scoped user role. Set every personal API key to expire after a short window of time. Limit network paths so only trusted company networks can reach the catalog API. Keep write actions tied to your git pipeline instead of local laptop editors.
Keeping local service definitions clean and safe
Local catalog files in your git repo hold key facts about your app. These files list team emails, alert channels, repo links, and dependency maps. When developers edit these files in their editor, syntax checks help stop typos. Schema rules inside the editor catch bad fields before the code ever leaves the laptop.
Never put raw secrets or private keys inside your local catalog files. If a check needs to test a live database, keep those credentials out of git. Also watch out for personal data like personal phone numbers in owner fields. Use team alias emails instead of personal inbox addresses whenever you can.
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
How do developers log in to use opslevel and vs code together?
Each developer creates a personal API token inside the service catalog web app. They save this token inside the local secret store of their code editor.
Should developers have write permissions from their local code editor?
No, most developers only need read permissions to check service grades locally. Let your main git pipeline handle all write updates after a code review.
What happens if a developer laptop with an API key is lost?
If each user has a unique key, an admin can revoke just that token. This stops access right away without breaking the setup for other team members.
Related guides
In this post