BlakeGate : the missing control plane for ProxyAuth infrastructure
Was this useful?
0 unique visitors
ProxyAuth is becoming more than a simple authentication gateway.
It can already handle authentication, sessions, virtual hosts, routing, access policies, TLS, certificates, users, groups and backend protection.
But once several ProxyAuth instances are involved, another problem appears:
How do you manage the infrastructure itself, and more importantly, how do you establish controlled trust between its components?
There is another operational limitation worth addressing too. Today, ProxyAuth requires restarts to apply configuration changes. That is a familiar model for reverse proxies, but it is not ideal for an infrastructure that needs to evolve while remaining available.
That is the problem BlakeGate is intended to solve.
BlakeGate is not just an administration panel
The easiest way to misunderstand BlakeGate would be to describe it as a web interface for ProxyAuth.
That is not the goal.
BlakeGate is intended to become a control plane sitting above the ProxyAuth data plane.
ProxyAuth remains responsible for protecting and serving applications.
BlakeGate would coordinate the infrastructure around it.
Managing the infrastructure
At the most visible level, BlakeGate could provide centralized management for:
- ProxyAuth instances
- virtual hosts
- backend services
- users and groups
- authentication policies
- certificates
- security configuration
- configuration validation
- infrastructure health
- audit events
- configuration changes
Instead of manually configuring every node, an administrator could define the desired state of the infrastructure and let the control plane coordinate the required changes.
But this is only one part of the idea.
Live configuration without restarting ProxyAuth
One of the major goals of BlakeGate would be to change how ProxyAuth handles configuration updates.
Today, ProxyAuth requires a restart to apply configuration changes. This is a familiar limitation of traditional reverse proxies and infrastructure components: modify the configuration, restart the process, and wait for the service to become operational again.
That approach works, but it is not ideal for infrastructure that needs to remain available while being managed.
BlakeGate could introduce a different model.
Instead of requiring ProxyAuth to restart every time a configuration changes, BlakeGate would be able to communicate directly with running ProxyAuth instances and inject updated information into their memory.
The objective is simple:
Change the infrastructure without restarting the gateway.
A new access policy, an updated account, a configuration change or cryptographic material could potentially be delivered to a running instance through the control plane.
ProxyAuth would then apply the update to its in-memory state, rather than requiring a complete process restart for every operation.
This could significantly improve the operational experience of multi-node deployments.
Administrators would be able to manage infrastructure while keeping services running, reducing unnecessary interruptions and making configuration changes more suitable for production environments.
It also changes the role of BlakeGate.
It would not merely generate configuration files and ask ProxyAuth to reload them.
It could become a genuine live infrastructure management layer, capable of coordinating changes across running instances.
Of course, this requires careful engineering.
Not every configuration change can safely be applied in memory. Updates would need validation, authorization, concurrency control, failure handling and a clear distinction between changes that can be applied dynamically and those that still require a restart.
But this is precisely the kind of capability BlakeGate is intended to bring to ProxyAuth.
The gateway keeps serving traffic.
The control plane manages the state.
And infrastructure changes become an operational action, rather than a reason to restart the entire service.
Cryptographic trust is part of the infrastructure
The more interesting part is what happens underneath.
A distributed authentication infrastructure cannot simply assume that every node should trust every other node.
Trust has to be established deliberately.
BlakeGate is intended to provide a mechanism for deploying the cryptographic material required to establish that trust between authorized ProxyAuth instances.
For example:
The important point is that this does not mean turning the entire infrastructure into one giant trust domain.
The control plane should instead allow trust to be defined, distributed and controlled.
One group of instances can share the cryptographic material required for their operation while another group remains isolated.
That makes cryptographic deployment part of infrastructure management, rather than an undocumented manual operation.
Synchronizing accounts
BlakeGate is also intended to coordinate account synchronization between ProxyAuth instances.
A multi-node deployment should not force an administrator to manually create the same users on every node.
The control plane could become responsible for distributing account state to the instances that are supposed to share it.
For example:
The same principle applies to groups and potentially other security state.
The objective is not simply replication for convenience.
It is to make the relationship between identity, cryptographic trust and infrastructure topology explicit.
Administration + trust + synchronization
This is why calling BlakeGate an “admin dashboard” would be misleading.
It potentially combines four different responsibilities:
The control plane becomes the place where the infrastructure’s relationships are defined.
Which instances exist?
Which instances belong together?
Which accounts should exist on which nodes?
Which cryptographic material should be deployed?
Which services should be protected?
Which policies should apply?
Which configuration changes should be applied live?
That is a much broader responsibility than simply editing a configuration file.
The important security boundary
This also means BlakeGate itself becomes security-sensitive.
A system capable of deploying cryptographic material cannot be treated like an ordinary administration dashboard.
Compromising the control plane could potentially provide an attacker with considerably more reach than compromising a single ProxyAuth instance.
That means BlakeGate would need to be designed around the same principle as ProxyAuth itself:
the control plane must not become a shortcut around the security model.
Cryptographic material should be distributed deliberately, access to administrative operations should be strongly authenticated and authorized, operations should be auditable, and instances should not blindly accept everything the control plane sends them.
The control plane should establish trust without becoming an all-powerful key vault that automatically compromises the entire infrastructure when breached.
Live configuration updates introduce another security boundary.
A remote configuration change can be just as powerful as a local configuration edit. The ability to inject information into a running instance must therefore be restricted to authorized operations, with validation and a clear mechanism for rejecting unsafe changes.
A possible future architecture
The long-term architecture could therefore look something like this:
The result would be a proper separation of responsibilities:
ProxyAuth protects the applications.
BlakeGate coordinates the infrastructure, its trust relationships, its identities and its live configuration.
But this is still a vision
There is an important caveat.
BlakeGate is not currently a project with a guaranteed release date.
Building this properly would require a substantial amount of work: control-plane architecture, API design, secure cryptographic distribution, account synchronization, authorization, auditing, failure handling, multi-node coordination, live configuration updates, frontend development and a lot of testing.
And there is an important difference between ProxyAuth and BlakeGate.
ProxyAuth was difficult, but it was still a project that a senior developer with enough time, strong systems knowledge and a willingness to learn could realistically build.
BlakeGate is on another level.
The skills required are considerably broader: distributed systems, concurrency, cryptographic key management, secure state synchronization, authorization, failure handling, consistency, network protocols, infrastructure orchestration and secure software architecture all become part of the same problem.
I am not even sure that I can build BlakeGate properly myself.
And I think that uncertainty is justified.
The difficult part is not creating an administration interface or sending configuration from one machine to another. The difficult part is synchronizing multiple ProxyAuth instances correctly without creating a new security vulnerability or compromising the trust model.
A control plane that distributes identity state, configuration and cryptographic trust material has to remain secure even when nodes fail, connections are interrupted, updates arrive out of order, credentials are rotated or part of the infrastructure becomes unavailable.
That makes the problem considerably more complex than ProxyAuth itself.
It is not infeasible.
But it is very difficult.
And building it as an open-source project makes the problem even more challenging. The architecture, security model, protocols and implementation would need to be understandable, reviewable and maintainable by people other than their original author.
I will therefore need to think carefully about the implementation.
Rather than trying to build BlakeGate as one enormous project, I would need to approach it component by component, defining the responsibilities, trust boundaries and protocols step by step.
I do not want to pretend that all of those answers already exist.
Some of them will probably only become clear while designing and prototyping the individual components.
That is also why I am leaving this article open.
If you have ideas about how such a control plane could be designed, how instances could be synchronized securely, how cryptographic trust could be established or how the different components could be structured, I would genuinely like to hear them.
BlakeGate is still a vision.
It may take a long time.
It may remain experimental.
It may be postponed indefinitely.
And there is even a possibility that it never becomes a public release.
I would rather state that clearly than create a roadmap that exists only on paper.
But the architectural direction is clear.
ProxyAuth is the data plane.
BlakeGate is intended to become the control and trust plane.
Not just a dashboard.
Not just a configuration manager.
A system capable of coordinating infrastructure, cryptographic trust, identity and live configuration across the ProxyAuth deployment.
If it eventually gets built, that is the role BlakeGate should fill.