Void Platform Protection System: Security Setup Guide - safety

Void Platform Protection System: Security Setup Guide

Learn how the Void Platform protection system secures deployments with Zero Trust access, credential isolation, secrets management, and Cloudflare-based controls.

2026-10-17
Void Platform Wiki Team
Quick Guide
  • 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.

Core Principle

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 LayerWhat It ProtectsTypical Failure Without It
User login sessionsIndividual developer identityShared credentials, no audit trail
Platform connectionsProject-to-platform associationDeployments to the wrong environment
Project credentialsPer-project automation scopeOne leak exposes every project
Administrator tokensPlatform-wide operationsBroad compromise from a single CI leak
Secrets managementDB, JWT, R2, encryption valuesCredentials committed to source control
Cloudflare AccessPlatform-facing routesPublic 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.

Credential Hygiene

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 TypeBest ForScopeStorage Guidance
Administrator accountPlatform config, access policyPlatform-wideDedicated admin identity only
Team member loginLocal development, manual deploysPer personPersonal session, never shared
Project credentialsApp integrations, deploy jobsSingle project/environmentCI encrypted secret store
Platform credentialsAdministrative automationBroad platform accessRestricted 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 CategoryExamplesStorage LocationSecurity Rule
Cloudflare configAccount ID, API credentialsCI encrypted secretsNarrowest permission set, never committed
Database configURL, host, username, passwordEnvironment-specific CI secretsKeep staging/production separate
JWT configSigning secret, issuer, audienceProtected env variablesRotate via planned process
R2 configBucket, access key, endpointEncrypted CI secretsLimit to required bucket actions
Encryption keyProject key materialRestricted platform configNever replace without a data migration plan
Environment variablesFeature flags, service URLsRepo or protected configClassify every variable before storage
Environment Variables Are Not Automatically Safe

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 ConcernProtection PracticeVerification Step
Custom domainStable production hostname per environmentHostname maps to one app and environment
HTTPS coverageCertificate covers exact hostnameNo browser warnings on visit
Wildcard certificatesUse only where routing model matchesTest root, nested, and wildcard paths separately
workers.dev addressesReserve for testing and validationKeep off production DNS
Domain changesAdd new domain before removing oldUpdate OAuth callbacks and webhooks
Routing Conflicts

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.

1

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.

2

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.

3

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.

4

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.

5

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.

Post-Hardening Review

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.