- Void Platform protection system layers Zero Trust access, credential isolation, and secrets management
- Four credential types: user sessions, platform connections, project credentials, admin tokens — each has a distinct scope
- Cloudflare Access adds an identity-aware layer without replacing platform authentication
- Least privilege is the core principle: scope every credential to one project or environment
- Never commit secrets — store Cloudflare, database, JWT, R2, and encryption values in encrypted CI secret storage
Void Platform Protection System Overview
The Void Platform protection system is the collection of security mechanisms that keep your deployments, administrative surfaces, and sensitive configuration safe across the Cloudflare-based runtime. It is not a single switch — it is a set of coordinated layers: authentication for people, credentials for automation, encryption for data at rest, and access control for every domain and route you expose.
The official documentation organizes security around clear boundaries: who can log in, what each identity can reach, and where secrets live. When you understand these boundaries, you can protect a production installation without slowing down development workflows.
Treat every layer independently. A Cloudflare Access identity is not a Void CLI login; a project credential is not an administrator token. Mixing these is the most common cause of accidental over-permission.
| Protection Layer | What It Protects | Typical Failure Without It |
|---|---|---|
| User login sessions | Individual developer identity | Shared credentials, no audit trail |
| Platform connections | Project-to-platform association | Deployments to the wrong environment |
| Project credentials | Per-project automation scope | One leak exposes every project |
| Administrator tokens | Platform-wide operations | Broad compromise from a single CI leak |
| Secrets management | DB, JWT, R2, encryption values | Credentials committed to source control |
| Cloudflare Access | Platform-facing routes | Public admin surfaces |
Authentication Layers and Identity Model
Void Platform separates identity into distinct categories, and the protection system only works when each category is used for its intended purpose. Administrators manage installations, identity providers, and access policy. Team members use personal login sessions for interactive work. Automation uses non-interactive project or platform credentials.
Never share personal login credentials between team members, and never store administrator tokens in a repository or general-purpose CI variable. Rotate credentials whenever team ownership or deployment responsibilities change.
| Identity Type | Best For | Scope | Storage Guidance |
|---|---|---|---|
| Administrator account | Platform config, access policy | Platform-wide | Dedicated admin identity only |
| Team member login | Local development, manual deploys | Per person | Personal session, never shared |
| Project credentials | App integrations, deploy jobs | Single project/environment | CI encrypted secret store |
| Platform credentials | Administrative automation | Broad platform access | Restricted store, explicit approval |
External identity providers — GitHub, Google, and OIDC — can provide familiar sign-in experiences when enabled by the platform administrator. These providers determine user identity but do not replace project or CI credentials. Cloudflare Access can additionally protect platform-facing applications and administrative surfaces with identity-aware policies coordinated with Void Platform team membership.
Secrets Management in the Protection System
Secrets are the highest-value target in any deployment pipeline. The Void Platform protection system approach classifies every configuration value before storage and keeps sensitive material out of the source repository entirely.
Cloudflare Configuration
- Account IDs, API credentials
- Dedicated credential, narrowest permissions
- Exposed only to the deployment step
Database & JWT
- Connection strings, signing secrets
- Separate staging and production values
- Never printed in build logs
R2 & Encryption Keys
- Bucket credentials, project encryption keys
- Environment-specific access keys
- Rotation plan required for key changes
| Secret Category | Examples | Storage Location | Security Rule |
|---|---|---|---|
| Cloudflare config | Account ID, API credentials | CI encrypted secrets | Narrowest permission set, never committed |
| Database config | URL, host, username, password | Environment-specific CI secrets | Keep staging/production separate |
| JWT config | Signing secret, issuer, audience | Protected env variables | Rotate via planned process |
| R2 config | Bucket, access key, endpoint | Encrypted CI secrets | Limit to required bucket actions |
| Encryption key | Project key material | Restricted platform config | Never replace without a data migration plan |
| Environment variables | Feature flags, service URLs | Repo or protected config | Classify every variable before storage |
A value named an "environment variable" is not automatically non-sensitive. Classify every variable before deciding where it lives — public flags belong in repo config, while anything credential-like belongs in encrypted storage.
Domain and Access Protection
Domain configuration is part of the protection system because routing mistakes can expose unintended surfaces. Plan DNS, HTTPS certificates, wildcard coverage, nested domains, and workers.dev test addresses together so traffic reaches only the intended application environment.
| Domain Concern | Protection Practice | Verification Step |
|---|---|---|
| Custom domain | Stable production hostname per environment | Hostname maps to one app and environment |
| HTTPS coverage | Certificate covers exact hostname | No browser warnings on visit |
| Wildcard certificates | Use only where routing model matches | Test root, nested, and wildcard paths separately |
| workers.dev addresses | Reserve for testing and validation | Keep off production DNS |
| Domain changes | Add new domain before removing old | Update OAuth callbacks and webhooks |
Review duplicate hostname assignments across projects and environments. A competing wildcard or default platform route can capture requests before they reach the intended application, silently breaking access control assumptions.
Step-by-Step: Hardening a Void Platform Deployment
Follow this sequence when setting up or reviewing the protection system for a production deployment. Each step builds on the previous one, so complete them in order.
Classify credentials
List every credential your workflow uses: Cloudflare access values, database connection strings, JWT secrets, R2 keys, project encryption keys, and any platform-level tokens. Assign each to user, project, or platform scope.
Move secrets to encrypted storage
Place sensitive values in the CI provider's encrypted secret store or the platform's protected configuration. Remove any secrets from the repository and purge them from history where possible.
Configure authentication per audience
Set up administrator accounts for platform management, external identity providers (GitHub, Google, OIDC) for team sign-in, and non-interactive project credentials for CI jobs. Keep these scopes separate.
Add Cloudflare Access to sensitive surfaces
Apply identity-aware access policies to administrative and platform-facing routes. Coordinate policies with Void Platform team membership so the two layers do not conflict.
Verify domains and routing
Test production, staging, nested, and workers.dev addresses from a clean browser session. Confirm certificates match hostnames and that no competing route intercepts traffic.
After completing the steps, review deployment and application logs for unexpected access events. Ongoing log review is part of the protection system, not a one-time task.
Security Checklist and FAQ
Protection System Checklist:
- All secrets removed from source control and stored in encrypted storage
- Staging and production credentials are fully separated
- CI credentials scoped to a single project or environment
- Administrator tokens restricted to dedicated workflows
- Cloudflare Access policies coordinated with team membership
- Domains, certificates, and routes verified from a clean session
Q: What is the Void Platform protection system?
It is the coordinated set of security mechanisms in Void Platform covering authentication layers, credential scoping, secrets management, domain and routing controls, and optional Cloudflare Access protection for platform-facing surfaces.
Q: Does Cloudflare Access replace Void Platform authentication?
No. Cloudflare Access adds an identity-aware access layer in front of protected applications, but a Cloudflare Access identity is not the same as a Void CLI login, project credential, or administrator token. The layers work together.
Q: Should CI pipelines use administrator tokens for deployments?
Prefer project-scoped credentials for ordinary deployments. Reserve platform credentials and administrator tokens for tasks that genuinely require broader access, and store them in a restricted secret store with explicit approval.
Q: How often should project credentials be rotated?
Rotate project credentials whenever ownership, environments, or deployment responsibilities change, and treat JWT signing secrets as long-lived sensitive credentials with a planned rotation process.