Secrets & environments
Organise application configuration, reuse values, and manage changes throughout a secret's lifecycle.
On this page
An app represents a service or project. Its environments separate configuration for development, staging, production, or your own deployment stages. A secret has a key and value, with optional metadata such as tags and comments.
Add and organise secrets#
- Open an app and select the environment you want to change.
- Use New Secret to add a key and value. Keep keys meaningful, such as
DATABASE_URLorPAYMENTS_API_KEY. - Group related secrets into folders, such as
/backend/db, and use tags to make them easier to find. - Grant only the members, teams, and service accounts that need this environment access to it.
Folder limits can restrict a member or workload to specific paths. Seeing a secret's key does not necessarily grant permission to reveal its value. See roles and permissions.
Reference another value#
References let you reuse a secret instead of keeping several copies in sync:
${KEY}reads a key in the same folder.${/folder/KEY}reads another folder in the same environment.${staging.KEY}reads another environment of the same app.${Other App::production.KEY}reads another app.
Resolution checks the reader's access to the referenced secret. For sync operations, the identity of the last writer is used. A reference does not grant extra access to the target.
Personal overrides#
Use a personal override when you need a different value for your own development work. It changes your view of the secret without changing the shared value for the rest of the team.
History and restoration#
Secret history records earlier versions. Members with the SecretHistory permission can inspect and restore them. Restoring a value does not invalidate a credential at its provider; if a credential was exposed, rotate it at the provider as well.
Sealed values#
A sealed secret is write-only: its value cannot be read back, including by a member with reveal permission. Use it only when the consuming workflow supports sealed values. Keep a separate recovery plan before sealing a value you may need later.
Export and automation#
Use the CLI to export an environment as dotenv, JSON, or shell assignments, or inject values directly into a child process with adera run. The REST secrets API serves plaintext only for server-side encrypted apps and authorised readers. Check CLI and SDKs and the REST API for examples.
Production changes#
Protect a production environment to require reviewed change requests. Compare & promote lets you select differences between environments in server-side encrypted apps. Promotion into a protected destination becomes a change request.
Use rotation policies for recurring credentials, dynamic AWS credentials for short-lived sessions, and events to notify downstream systems.