- Void Platform protection combines credential separation, Zero Trust access, and secrets hygiene.
- Never mix administrator tokens, project credentials, and CI secrets in one place.
- Cloudflare Access adds an identity-aware layer without replacing platform authentication.
- Least privilege is the default rule: scope every credential to one project or environment.
- Rotate credentials whenever ownership, environments, or deployment duties change.
Why Void Platform Protection Matters
Void Platform protection is the set of access, credential, and runtime safeguards that keep your Cloudflare-based deployments secure. Because the platform spans CLI sessions, project connections, CI pipelines, and administrator controls, a single leaked token can expose far more than one application. Protection therefore starts with understanding which identity layer you are working in.
The platform distinguishes four credential types, and treating them interchangeably is the most common security mistake:
| Credential Type | Identifies | Typical Use | Risk If Shared |
|---|---|---|---|
| User login session | An individual person | Local dev, interactive CLI work | Personal account compromise |
| Platform connection | A project-to-platform link | Deployment targeting | Misdirected deployments |
| Project credentials | One project or environment | App integrations, deploy jobs | Lateral access across projects |
| Administrator token | Platform-wide operations | Installations, access policy | Full platform control |
Administrator tokens and project credentials are not interchangeable. Reserve platform-wide credentials for tasks that genuinely require broader access, and use project-scoped credentials for ordinary deployments.
Zero Trust and Cloudflare Access
Void Platform can sit behind Cloudflare Access, which adds an identity-aware proxy layer in front of applications and administrative surfaces. This is the closest thing the ecosystem offers to a built-in Zero Trust model: no request reaches the platform until it passes an access policy.
Coordinating the two layers correctly is essential:
| Layer | What It Controls | What It Does Not Do |
|---|---|---|
| Cloudflare Access | Network-level entry to apps and admin UIs | Replace Void Platform login or project credentials |
| Void Platform authentication | User identity, teams, project permissions | Block traffic before it reaches the app |
| Project credentials | Deployment and integration actions | Grant human-level platform access |
| Administrator tokens | Platform-level operations | Serve as everyday deploy credentials |
Align Cloudflare Access policies with Void Platform team membership. An identity accepted by Access is not automatically authorized inside the platform — the two systems must agree.
External identity providers such as GitHub, Google, and OIDC can handle user sign-in when enabled by an administrator. These determine who the user is; they do not replace project credentials or CI deployment secrets. For details, see the official access administration guide and CLI auth reference.
Secrets and CI Protection
Automated deployments concentrate sensitive values in one pipeline, which makes CI the highest-value target in most setups. The core principle: store secrets in the CI provider's encrypted secret store, expose them only to the deployment job, and keep environment-specific values separate.
| Secret Category | Examples | Storage | Handling Rule |
|---|---|---|---|
| Cloudflare configuration | Account IDs, API credentials | CI encrypted secrets | Narrowest permissions; never in source control |
| Database configuration | URL, host, credentials | Environment-specific CI secrets | Never print connection strings in logs |
| JWT configuration | Signing secret, issuer, audience | Protected environment variables | Rotate through a planned process |
| R2 configuration | Bucket, access key, endpoint | Encrypted CI secrets | Separate credentials per environment |
| Project encryption key | Key material for protected data | Restricted platform config | Never commit or expose in logs |
| Environment variables | Public URLs, feature flags | Repo or protected config | Classify every value before storage |
Separate Environments
- Staging and production use distinct values
- No shared database or R2 credentials
- Isolated failure domains
Scope Every Credential
- One credential per project or environment
- Least-privilege by default
- Rotate on ownership changes
Keep Secrets Out of Logs
- Never echo secrets in build output
- Restrict exposure to the deploy step
- Audit CI job permissions
A value is not safe merely because it is named an "environment variable." Classify each variable before deciding where it lives — signing secrets and encryption keys deserve the same protection as passwords.
Hardening Workflow: Step by Step
Follow this sequence when setting up or auditing protection on a Void Platform installation.
Define the trust boundary
Decide which surfaces sit behind Cloudflare Access and which remain public. Document every administrative entry point before granting anyone access.
Configure authentication layers
Enable external identity providers (GitHub, Google, OIDC) if your organization centralizes identity, and confirm platform team membership matches access policy.
Issue scoped credentials
Create project-scoped credentials for each application environment. Keep administrator tokens in a separate, restricted store used only for platform-level tasks.
Secure the CI pipeline
Add Cloudflare, database, JWT, R2, and encryption values to the CI provider's encrypted secret store. Expose them only to the deployment job and never to unrelated steps.
Verify and monitor
Run a test deployment, confirm logs contain no secrets, review platform logs for unexpected activity, and schedule periodic credential rotation.
After hardening, attempt a deployment with deliberately insufficient credentials. It should fail cleanly with a permission error — that confirms your scoping works.
Protection Audit Checklist
Run through this checklist quarterly and after any team or infrastructure change.
Protection Audit:
- Administrator tokens stored separately from project and CI credentials
- Every CI secret scoped to a single project and environment
- Cloudflare Access policies aligned with platform team membership
- No secrets present in build logs or source repositories
- Rotation plan documented for JWT secrets and encryption keys
| Symptom | Likely Cause | First Action |
|---|---|---|
| Deploy fails with auth error in CI | Credential missing or expired | Re-inject secret into the deployment job only |
| Unexpected project appears in platform | Over-broad platform credential | Revoke token, audit access logs |
| Users bypass login via Access | Layers treated as one system | Verify platform authentication is enforced |
| Secrets visible in logs | CI step printing env values | Remove echo steps, rotate exposed values |
FAQ
Q: Does Cloudflare Access replace Void Platform authentication?
No. Cloudflare Access adds an identity-aware layer in front of platform resources, but a Cloudflare Access identity is not the same as a Void CLI login, project credential, or administrator token. Both layers must be configured and coordinated.
Q: What is the safest Void Platform protection setup for CI deployments?
Use non-interactive, project-scoped credentials stored in the CI provider's encrypted secret store, exposed only to the deployment job, with separate values for staging and production. Avoid administrator tokens for routine deployments.
Q: How often should I rotate project credentials?
Rotate whenever ownership, environments, or deployment responsibilities change, and on a planned schedule for long-lived secrets such as JWT signing secrets and project encryption keys.
Q: Can GitHub or Google login handle all security for my team?
External identity providers determine user identity for sign-in, but they do not replace project credentials, CI secrets, or administrator tokens. Each layer has a distinct security role.