Skip to main content
OwnKube provides secure environment variable management for your applications. Variables are encrypted at rest and injected at runtime — never exposed in logs or build output.

Setting variables

You can set environment variables through the Dashboard — navigate to your app’s Settings > Environment tab.

Variable types

TypeDescriptionExample
Plain textStandard configuration valuesNODE_ENV=production
SecretSensitive values, masked in UIAPI_KEY=sk-...
DatabaseAuto-injected from provisioned databasesDATABASE_URL=postgresql://...

Variable scope

  • App-level — available to all deployments of an application
  • Environment-level — override values per environment (production, staging, preview)

Best practices

  • Never commit secrets to your repository — use OwnKube environment variables instead
  • Use environment-level overrides for different configurations between staging and production
  • Database connection strings are auto-injected when you provision a database through OwnKube