The Simplest Way to Make Backstage and Google Pub/Sub Work Like They Should
Teams pair backstage and google pub/sub to manage message queues from one developer portal. Developers request new topics, check queue health, and view permissions without filing support tickets. This pairing puts event streams next to service catalogs and ownership records. Platform teams keep strict cloud rules while product engineers move fast. How backstage and google pub/sub share identity and data The developer portal reads topic metadata and queue stats from the cloud API. It maps eac
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 backstage and google pub/sub to manage message queues from one developer portal. Developers request new topics, check queue health, and view permissions without filing support tickets.
This pairing puts event streams next to service catalogs and ownership records. Platform teams keep strict cloud rules while product engineers move fast.
How backstage and google pub/sub share identity and data
The developer portal reads topic metadata and queue stats from the cloud API. It maps each topic and subscription to an owner team in the catalog. When an engineer logs in, the portal checks their group role first.
The portal uses a cloud service account to talk to the messaging service. For best security, teams link this account through workload identity instead of static keys. The portal only fetches metadata or runs approved actions for the signed-in user.
Templates in the portal let teams create new topics with standard naming rules. When a user submits a template, an automation pipeline provisions the cloud topic. The pipeline then registers the new topic back into the portal catalog.
Teams also view dead-letter queue counts right on the service page. This setup keeps developers out of the raw cloud console during daily work.
Common failure modes and role scoping
Many teams start by giving the portal one broad cloud admin role. That single account can read, write, or delete every topic in the project. If that key leaks, an attacker gains full control over all message streams.
End-to-End Encryption + Backstage Security Plugins: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Shared service accounts also ruin audit logs in the cloud console. Every action looks like it came from the portal instead of a specific person. Security teams cannot tell who deleted a subscription or read a sensitive message.
Unscoped read rights create privacy risks when engineers inspect failed messages in queues. Event payloads often hold user emails, phone numbers, card numbers, or national IDs. Letting any portal user pull raw messages exposes private data across the company.
To fix this, split read roles from write roles at the project level. Give the catalog reader account view-only rights for topic names and metric counts. Never give the default portal account permission to pull message payloads from subscriptions.
Use separate automation roles for templates that create or delete cloud topics. Scope those roles to specific projects or folder paths for each product team. Require peer approval before a template runs changes against production messaging queues.
Lock down network paths between the portal host and the cloud API endpoints. Use private cloud routing so traffic stays off the public internet. Log every user request in the portal with a clear user ID and timestamp. Match those portal logs with cloud audit records to trace every change.
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
Should the developer portal use a static JSON key for cloud calls?
No, static keys are hard to rotate and easy to leak. Use workload identity federation so the portal receives short-lived cloud tokens.
How do we stop engineers from reading private data in dead-letter queues?
Remove payload pull permissions from the portal viewer role. Apply data masking that rewrites matched fields like emails or card numbers in results.
Can developers create production topics straight from a portal template?
Direct creation in production is risky without review. Have the template open a change request that runs after a team lead approves it.
Related guides
In this post