- Void Platform safety requirements cover credentials, secrets, domains, and access control across deployments
- Least privilege is the core rule: use project-scoped credentials, never platform-wide tokens, for routine work
- Secrets stay out of source control: store them in CI encrypted secret stores or protected platform configuration
- Separate credential types: user login sessions, project credentials, and administrator tokens are not interchangeable
- Domain and HTTPS hygiene prevents routing conflicts and accidental exposure of staging environments
Core Void Platform Safety Requirements
Void Platform runs on Cloudflare and handles deployment, authentication, databases, storage, and domain routing. Because the platform touches both your Cloudflare account and your application runtime, safety requirements fall into a few distinct layers: identity and access, secret management, network exposure, and operational controls. Each layer has its own rules, and treating them as one bucket is the most common cause of security incidents.
The foundation is credential separation. Void Platform distinguishes between a user login session (identifies an individual), a platform connection (associates a project with the platform), project credentials (let automation act on behalf of one project), and administrator tokens (platform-wide access). Mixing these up — for example, using an admin token in a CI pipeline because it "just works" — violates the least-privilege principle and expands blast radius if the credential leaks.
Identity Layer
- Login sessions for individuals
- GitHub, Google, OIDC providers
- Cloudflare Access as extra gate
- Personal sessions never shared
Project Layer
- Project-scoped credentials
- Environment-specific values
- Rotated on ownership change
- Default choice for CI deploys
Platform Layer
- Administrator tokens
- Restricted storage and access
- Explicit approval workflows only
- Never used for routine deploys
Storing an administrator token in a CI environment variable for everyday deployments defeats the entire credential model. Reserve platform credentials for tasks that genuinely require broad access, and use project-scoped credentials for normal deployment pipelines.
Secrets and CI Safety Requirements
Automated deployments need a clear separation between source code, environment variables, project credentials, and platform credentials. The table below summarizes how each category should be stored, injected, and protected during Void Platform CI deployments.
| Secret Category | Examples | Storage | Injection | Security Rule |
|---|---|---|---|---|
| Cloudflare Configuration | Account IDs, API credentials | CI encrypted secrets | Deployment step only | Narrowest permissions; never committed |
| Database Configuration | URL, host, credentials | Environment-specific CI secrets | Deploy/migration time | Keep staging and production separate |
| JWT Configuration | Signing secret, issuer, audience | Protected environment variables | Auth-requiring steps | Rotate through a planned process |
| R2 Configuration | Bucket, access key, endpoint | Encrypted CI secrets | Per-environment | Never embed in client-side code |
| Project Encryption Key | Key material for protected data | Restricted platform config | Deploy/runtime only | Never expose in logs or replace casually |
| Project Credentials | Project deployment tokens | CI store scoped to repo | Deployment job only | Separate per project/environment |
| Platform Credentials | Admin tokens | Restricted CI store | Dedicated admin workflows | Prefer project-scoped for deploys |
A value is not safe just because it is called an "environment variable." Classify every variable before storing it: public configuration can live in repository files, but anything sensitive belongs in the CI provider's encrypted secret store or protected platform configuration.
Additional CI safety practices that apply to Void Platform pipelines:
- Expose secrets only to the specific job and environment that needs them
- Do not print database connection strings or signing secrets in build logs
- Use non-interactive credentials for CI jobs rather than a developer's local session
- Rotate project credentials when team ownership, environments, or deployment responsibilities change
Hardening Your Setup: Step-by-Step
Follow this sequence when installing Void Platform in your Cloudflare account and preparing it for production traffic. The order matters — access control decisions made during installation are much harder to retrofit.
Choose authentication during installation
Decide the login method during platform setup: GitHub, Google, OIDC, or another configured provider. External login determines user identity, but it does not replace project credentials or CI deployment credentials — plan all three separately.
Apply least privilege to credentials
Issue project-scoped credentials for each deployment pipeline. Keep administrator credentials separate from application credentials and CI variables, and grant the smallest administrative scope each task requires.
Configure the application domain and HTTPS
Select a stable production hostname, prepare DNS records, and confirm the HTTPS certificate covers the exact hostname users will visit. Use separate hostnames for staging or preview environments to keep them isolated.
Check for routing conflicts
Review duplicate hostname assignments across projects, wildcard routes, and default platform routes. A more specific hostname should not unintentionally inherit or override another route.
Verify and review logs
Test production, staging, nested, and workers.dev addresses from a clean browser session, then use platform logs to review deployment events and application activity on an ongoing basis.
Reserve workers.dev test addresses for testing, validation, and temporary access only. Public production traffic should always run through a properly configured custom domain with valid HTTPS coverage.
Access Control Layers Compared
Teams often ask whether Cloudflare Access, OIDC, or platform-native permissions are the "right" answer. In practice, they solve different problems and are frequently combined.
| Access Layer | What It Controls | Best For | Does Not Replace |
|---|---|---|---|
| Void Platform team permissions | Project and team access inside the platform | Day-to-day developer workflows | CI deployment credentials |
| GitHub / Google login | Familiar sign-in for team members | Reducing password friction | Project or admin tokens |
| OIDC provider | Organization-managed identity | Centralized identity management | Platform-level authorization |
| Cloudflare Access | Identity-aware gate in front of resources | Extra protection for admin surfaces | Void CLI login or project credentials |
Cloudflare Access policies should be coordinated with Void Platform team membership and project permissions. A Cloudflare Access identity is not the same as a Void CLI login, a project credential, or an administrator token — keep the layers distinct.
Production Safety Checklist
Use this checklist before and after each significant deployment or platform change. Every item maps directly to a safety requirement discussed above.
Production Safety Requirements:
- All credentials separated by type and environment (user, project, platform)
- No secrets committed to source control or printed in build logs
- CI credentials stored in the provider's encrypted secret store
- HTTPS certificate covers the exact production hostname
- Staging and production use separate hostnames and credentials
- Administrator tokens restricted to approved administrative workflows
- Platform logs reviewed for unexpected deployment or access events
- Domain changes include DNS, certificate, routing, and integration updates
Treat a domain change as a coordinated update across DNS, certificates, routing, and application configuration. Update OAuth callbacks, webhooks, and external integrations that reference the old hostname, and add the new domain before removing the old one when possible.
FAQ
Q: What are the most important Void Platform safety requirements?
The core requirements are credential separation (user sessions, project credentials, and administrator tokens kept distinct), least-privilege access, secrets stored outside source control in encrypted stores, valid HTTPS coverage for production domains, and coordinated domain change procedures.
Q: Should I use an administrator token in CI for convenience?
No. Administrator tokens grant platform-wide access and should be reserved for dedicated administrative workflows with explicit approval. Routine CI deployments should use project-scoped credentials limited to the target repository, project, and environment.
Q: Does enabling GitHub or Google login make my platform secure?
External login providers determine user identity and reduce password friction, but they do not replace project credentials, CI deployment credentials, or administrator tokens. Each credential layer must be configured and protected independently.
Q: What role does Cloudflare Access play in Void Platform safety?
Cloudflare Access adds an identity-aware access-control layer in front of protected applications or administrative surfaces. Coordinate its policies with Void Platform team membership and project permissions, but remember a Cloudflare Access identity is separate from a CLI login or project credential.