# Configuration Documentation Update: Environment Variable Resolution

Canonical URL : https://adonisjs-signal.jrmc.dev/insights/992ddb3b-3278-4e37-8578-f32999500164
Source release or documentation date : 2026-11-18T06:11:52.000Z
Category : documentation | Developer impact : low
Affected packages : @adonisjs/config

The documentation for AdonisJS configuration has been updated to clarify that references to variables missing from the \`\.env\` file and \`process\.env\` resolve to an empty string\. Additionally, it explains how to read environment variable values from files using the \`file:\` prefix, which is useful for secret management systems like Docker secrets or Kubernetes\.

## What this means for your code

Developers will better understand how environment variables are resolved when missing and how to use file\-based environment variables for secrets\. This clarification helps prevent confusion about missing environment variables and supports secure secret management practices\.

## Suggested actions

- Review the updated configuration documentation at https://docs\.adonisjs\.com/configuration to understand environment variable resolution behavior\.
- Use the \`file:\` prefix in environment variables to load secrets from files when integrating with secret managers like Docker secrets or Kubernetes\.
- Ensure that missing environment variables are handled appropriately in application code, considering they resolve to empty strings\.

## Updated documentation

- [Configuration &amp; Environment](https://docs.adonisjs.com/configuration)

## Original sources

- [v7\-docs: 1 documentation file\(s\)](https://github.com/adonisjs/v7-docs/compare/d02748103aa22b037155c319a3d13e1148a93d2d...b6bb8e7e7e2099215c3faf160ffa4aed0155e9c3)

AI-generated analysis based on the linked sources. Check the original documentation before changing your application.
