The Simplest Way to Make App Of Apps and SAML Work Like They Should
You pair app of apps and SAML to map login groups to deploy rights. This setup lets one parent app sync child apps while checking user roles. Platform teams use this pattern to manage dozens of cluster services from Git. A central login system passes user attributes to the deployment controller at login. The controller reads those group claims and shows only the right child apps. Engineers then sync or view their own services without touching other team apps. How app of apps and SAML pass ide
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.
You pair app of apps and SAML to map login groups to deploy rights. This setup lets one parent app sync child apps while checking user roles.
Platform teams use this pattern to manage dozens of cluster services from Git. A central login system passes user attributes to the deployment controller at login. The controller reads those group claims and shows only the right child apps. Engineers then sync or view their own services without touching other team apps.
How app of apps and SAML pass identity and permissions
The workflow starts when an engineer logs in to the deployment tool dashboard. The deployment tool sends a login request to your central identity provider. The identity provider checks the user and sends back a signed XML assertion. That assertion holds the user email and a list of current group names.
Meanwhile, the parent app in Git points to a folder of child apps. Each child app belongs to a specific project inside the deployment controller. The project rules map the incoming group names to specific read or write roles. When a user clicks sync on a child app, the tool checks their group. If the group matches the project rule, the tool runs the sync task. If the group does not match, the tool blocks the change right away.
Common failure modes with shared accounts and broad roles
Many teams break this clean model by keeping a shared admin login active. Engineers use that shared login when a sync fails or a group misses rights. Once people share an account, your audit logs lose track of who changed what. You see the admin name in the log instead of the real person.
Another common risk happens when the parent app holds full cluster admin rights. If any user can edit the parent app, they can add a bad child app. That new child app runs with the high rights of the parent controller. A developer could deploy workloads into any namespace by changing one Git file.
DPoP (Demonstration of Proof-of-Possession) + Protocol Translation (SAML to OIDC): architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Unlogged database queries and hidden console sessions also create big blind spots during incidents. SAML handles the web dashboard login, but engineers still run manual database fixes. When they connect to backend stores with static keys, group rules do not apply. Sensitive data like emails, phone numbers, or card numbers can spill into console outputs.
Scoping projects and network paths across child apps
To fix these gaps, put the parent app in a locked admin project. Only top platform engineers should have SAML group rights to sync that parent app. Give each product team a separate project for their own child apps. Lock each team project to specific cluster namespaces and allowed Git source repos.
Next, map your SAML groups to narrow roles inside each team project. Give developers read and sync rights on their own child apps only. Do not let product groups edit the project rules or add new clusters. Keep the network path between the controller and target clusters on private subnets. Turn off the local admin account once your group mappings work as planned. Check your group claims every quarter so old team members lose their sync rights. Good role habits keep your Git tree clean and your cluster workloads safe.
Check database and API queries on the wire
Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.
Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.
Frequently asked questions
Why can a user see the parent app but not the child apps?
Their SAML group has read rights on the main project only. Add their group to the child project rules so they see those apps.
How do we stop child apps from deploying to the wrong namespace?
Assign each child app to a scoped project with strict destination rules. List only the exact namespaces and clusters that the project can use.
What happens if the SAML assertion drops the group attribute?
The deployment tool treats the user as a guest with no group roles. Check your identity provider settings to make sure it sends group claims.
Related guides
In this post