The Simplest Way to Make Backstage and Tcp Proxies Work Like They Should
Running backstage and tcp proxies together links your developer catalog with your live network paths. This pair lets engineers find services in the portal and open safe local ports. Teams use Backstage as a single place to view apps, databases, and owners. Meanwhile, TCP tools route raw network traffic from user laptops to private servers. Bringing them together turns static catalog pages into working entry points for daily tasks. How backstage and tcp proxies share user roles and data First
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.
Running backstage and tcp proxies together links your developer catalog with your live network paths. This pair lets engineers find services in the portal and open safe local ports.
Teams use Backstage as a single place to view apps, databases, and owners. Meanwhile, TCP tools route raw network traffic from user laptops to private servers. Bringing them together turns static catalog pages into working entry points for daily tasks.
How backstage and tcp proxies share user roles and data
First, an engineer logs into the portal using their main company identity account. The catalog reads their group rules and shows the systems their team owns. Each system entry holds basic details like host names, ports, and owner tags.
When the user needs a private database, the portal passes metadata to the local client. Next, the network client checks the user token with the central identity provider. Once the check passes, the tool opens a local port on the laptop. Traffic then flows from the local app through the tunnel to the target host.
This setup keeps the catalog as the main source of truth for service data. Platform teams update host details in one file, and every developer gets the change. Users do not need to memorize IP addresses or ask around for port numbers.
Common failure modes and how to scope network paths
Many teams connect these systems using a single shared service account at the backend. That choice creates a huge risk because every user shares the same broad power. If one developer runs a bad command, the logs only show the shared account. Auditors cannot tell which person ran the query or changed the table data.
Broad network tokens cause another big problem in production setups. Sometimes a token grants reach to an entire subnet instead of one specific port. An engineer fixing a small app bug might also reach sensitive billing databases nearby. Also, basic port forwarding only sees raw packets and leaves SQL queries unlogged.
End-to-End Encryption + Backstage Security Plugins: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
To fix this, map portal team groups directly to strict backend database roles. Give each service its own network rule that only opens the exact port needed. Set short time limits on user tokens so old sessions close on their own. When sensitive results return, masking rewrites matched fields like emails, phone numbers, and card numbers.
Keeping catalog metadata and network rules in sync
Service catalogs often drift away from real network settings over a few months. A team might move a database to a new host and forget the catalog. Or a network admin might close a port while the portal still shows it open. When this drift happens, engineers waste hours trying to debug broken local tunnels.
You can prevent drift by driving both tools from the same code repo. Store your service catalog files right next to your network routing rules in Git. When a developer opens a pull request to add a database, review both parts. Automated checks can read the file and update the portal and network rules together.
This shared workflow cuts down on manual tickets for the platform operations team. New services show up in the portal with working network paths on day one. When an old app shuts down, removing the file cleans up the open port too.
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 Backstage route raw database traffic on its own?
No, the portal only stores service metadata and shows web pages to users. You still need a separate network tool to move TCP packets across private networks.
How do we stop shared accounts when linking these tools?
Pass the logged-in user identity from the portal straight to your network tool. Make sure the backend checks individual user tokens instead of one static server key.
Can we restrict which ports a developer can open from the catalog?
Yes, tie each catalog group tag to a strict network rule on your server. Only let the tunnel open the exact host and port listed for that role.
Related guides
In this post