Overview
Managing secrets on Techbeaver Cloud works similarly to modern deployment platforms like Vercel or Netlify. Environment variables are encrypted at rest and injected directly into your application runtime at boot, keeping credentials out of your Git repository.
Step 1: Locate Your Application Settings
Environment variables and runtime settings are configured at the individual application level inside your project workspace.
- Log in to your Techbeaver Dashboard and select Serverless Apps from the sidebar.
- Click on the Project containing your deployed workload.
- Select the specific Application (e.g., your frontend web app or backend API server).
- In the application control panel, navigate to the Environment Variables tab.
Step 2: Add API Keys & Environment Variables
You can inject sensitive keys into your runtime using two convenient input options:
Option A: Structured Form Editor
Add individual key-value pairs one by one using the interactive form fields. This is ideal for adding or modifying single variables (e.g., setting PORT or DATABASE_URL).
Option B: Raw .env Bulk Paste
Switch to the raw text area to paste an entire .env file directly into the editor at once. The platform automatically parses and formats your variables upon saving.
Security Best Practice
Step 3: Configure Networking & Start Commands
From the same configuration view, you can adjust additional execution parameters before saving your deployment configuration:
- Networking Ports: Specify the internal port your containerized application listens on (e.g.,
3000or8080). - Custom Start Command: Override the default boot command with an optional entrypoint script (e.g.,
node dist/main.jsornpm run start:prod).
Step 4: Save and Deploy
Click Save Settings to apply your configuration. Techbeaver Cloud will automatically update your environment variables and restart your application process securely.
