Nubiecloud Docs
Security

Managing application secrets

Public variables vs secrets, encryption and best practices for sensitive data.

An application often needs configuration values: some harmless (log level, public URL), others sensitive (passwords, API keys, connection strings). Nubiecloud tells the two apart.

Public variables vs secrets

Public variablesSecrets (sensitive variables)
What fornon-sensitive configurationconfidential data
ExamplesLOG_LEVEL, ENVIRONMENTDATABASE_URL, API_KEY, JWT_SECRET
Storageclear textencrypted
Displayvisiblehidden, never shown again

Add / change

Variables are managed in the deployment configuration (at creation time, or through Edit on an existing deployment):

  1. Open the application's configuration.
  2. Environment variables section for public values, Sensitive variables (secrets) section for secrets.
  3. Add key / value pairs, then save. The application is redeployed with the new configuration.

πŸ”’ Secrets are encrypted at rest and injected into the application at runtime. Once saved, a secret is never shown in clear text again: when editing, the field appears empty β€” you can replace the value (by entering a new one) or remove the row, but not read the old one back.

ℹ️ There is no separate "secrets manager" page: secrets live at the level of each deployment. There is no (yet) automatic rotation β€” to change a secret, edit it manually and redeploy.

Best practices

  • Put everything sensitive (database passwords, NubiS3 keys, tokens) in the secrets, never in the public variables.
  • Use different secrets per environment (dev / prod).
  • After a suspected leak, change the value at the source (e.g. regenerate the API key) and update the secret.

See also

On this page