Skip to Content
Envault

Shared Secrets and Workspace Defaults

Reuse values across applications and apply common runtime defaults to every container.

Shared Secrets

Organize common values into named groups with their own environments. For example:

  • payments-common: develop and master
  • analytics-common: develop and master
  • global-common: global
  1. Open Shared Secrets and choose Create shared group.
  2. Name the group, open its card, and create an environment.
  3. Open the environment and add its common keys.
  4. In an application group or Workspace Defaults, use ${shared.group.environment.KEY} in the value to reference it. No Shared connection is needed.

Only referenced Shared values are used; creating a Shared key does not automatically inject it into every application. A connected Shared environment also delivers its inherited keys.

Explicit references

Application and Workspace values must use ${shared.group.environment.KEY}, for example ${shared.payments-common.production.PAYMENTS_TOKEN}. The group and environment must be in the same workspace. ${shared.KEY} is not supported, even if the key is unique; update any existing short references before deployment. Shared values are literal and are not recursively expanded. A missing reference stops delivery.

Find where shared values are used

Open a Shared Secrets environment and scroll below Variables to External References. The direct-reference tab lists the shared key, the application or workspace key that references it, and its last update time. The environment-inheritance tab lists application environments connected to this shared environment; All variables represents the environment connection.

Search by key, group or environment name, load more results, or use the row's management link to open the source environment. This view requires workspace secret metadata access and does not reveal secret values. If the list reports incomplete results, do not treat an empty list as confirmation that a key is unused.

These are saved Envault references and connections. They do not show whether a running container or an external CLI process is currently using a value. Renaming or deleting a referenced key does not rewrite references in other values.

Workspace Defaults

Open Workspace Defaults and create a name/value pair. These values are common to Container Engine applications in this workspace, across projects and deployment-environment labels. They have no selectable environment. Use Application Secrets for environment-specific values.

Workspace values may reference Shared Secrets. Changing a value does not restart running workloads. Creation, start and redeployment apply the current values; a plain Restart retains the previously delivered configuration.