In short.
This n8n configuration guide helps self-hosted n8n administrators configure external data storage, but Azure Blob Storage requires a Business or Enterprise license. It covers S3-compatible connection settings and Azure storage for execution data, binary data or both. Its most useful detail is authentication precedence: an Azure connection string overrides other credentials, while automatic detection takes priority over an account key. The page provides exact variables but leaves pricing, supported n8n versions and operational performance unknown.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected page at [https://docs.n8n.io/deploy/host-n8n/configure-n8n/basic-configuration/use-environment-variables/external-data-storage.md], including its separate-file configuration notice, S3 table, Azure availability restriction, authentication instructions, variable table and related links. The documentation index, external-storage guide, credential-provider documentation, licensing guide and other linked pages are excluded. No configuration was executed; authentication, storage operations, compatibility, performance and costs remain unverified.
The overview
identity
External data storage is an n8n documentation page describing environment variables for external storage on self-hosted instances. Its scope covers S3-compatible settings and Azure Blob Storage configuration.
Original source: [https://docs.n8n.io/deploy/host-n8n/configure-n8n/basic-configuration/use-environment-variables/external-data-storage.md].
assessment
This is useful as a precise configuration reference, especially for identifying required Azure settings and understanding which credentials n8n will use when several authentication options are configured.
It is not a complete deployment tutorial. The page directs readers to a separate external-storage guide, and it supplies no runtime results establishing successful authentication, storage reliability or performance.
users
The intended readers are people administering self-hosted n8n who need to configure S3-compatible storage or Azure Blob Storage. Developers and infrastructure operators can use the variable names directly when preparing deployment configuration.
Beginners will need additional guidance on creating storage resources and granting access. Azure storage is explicitly unavailable on n8n Cloud.
capabilities
For S3-compatible storage, the page lists settings for the host, bucket name, region, access key, access secret and automatic credential detection.
For Azure Blob Storage, it documents storing execution data, binary data or both. A single container can hold both types. Authentication can use a connection string, automatic credential detection or an account name and key. A custom endpoint can accommodate services such as Azurite or a sovereign cloud.
Using it
requirements
Azure storage requires a self-hosted Business or Enterprise deployment and an added license key. N8N_EXTERNAL_STORAGE_AZURE_CONTAINER_NAME is always required, together with the settings for the chosen authentication method.
Automatic Azure authentication requires an account name and access to credentials through DefaultAzureCredential. The page names managed identity, environment credentials and Azure CLI as possibilities. Minimum n8n versions, exact storage permissions and S3 plan eligibility are not stated.
mechanism
Azure authentication follows a defined order. N8N_EXTERNAL_STORAGE_AZURE_CONNECTION_STRING takes precedence and causes n8n to ignore the account name, account key and auto-detect setting. Otherwise, enabling N8N_EXTERNAL_STORAGE_AZURE_AUTH_AUTO_DETECT uses DefaultAzureCredential and ignores the account key. Account-name-and-key authentication is the third option. Azure auto-detection defaults to false.
For S3-compatible storage, enabling N8N_EXTERNAL_STORAGE_S3_AUTH_AUTO_DETECT ignores the configured access key and access secret and uses the default credential provider chain. The page does not specify a default value for this setting or explain the chain's internal order.
setup
The S3 connection settings are N8N_EXTERNAL_STORAGE_S3_HOST, N8N_EXTERNAL_STORAGE_S3_BUCKET_NAME and N8N_EXTERNAL_STORAGE_S3_BUCKET_REGION. Explicit credentials use N8N_EXTERNAL_STORAGE_S3_ACCESS_KEY and N8N_EXTERNAL_STORAGE_S3_ACCESS_SECRET. The page does not provide the S3 storage-mode activation procedure.
For Azure execution data, set N8N_EXECUTION_DATA_STORAGE_MODE to azure. For Azure binary data, set N8N_DEFAULT_BINARY_DATA_MODE to azure. Set the required container name and configure one authentication option. Set N8N_EXTERNAL_STORAGE_AZURE_ENDPOINT only when using a custom endpoint.
The page also allows individual configuration variables to use a _FILE suffix so their values can be supplied through separate files. Detailed instructions for this mechanism are linked separately.
example
An illustrative Azure configuration for both data types would set N8N_EXECUTION_DATA_STORAGE_MODE=azure, N8N_DEFAULT_BINARY_DATA_MODE=azure, N8N_EXTERNAL_STORAGE_AZURE_CONTAINER_NAME=<container-name>, N8N_EXTERNAL_STORAGE_AZURE_ACCOUNT_NAME=<account-name> and N8N_EXTERNAL_STORAGE_AZURE_AUTH_AUTO_DETECT=true.
For this authentication choice, leave N8N_EXTERNAL_STORAGE_AZURE_CONNECTION_STRING unset because it would override auto-detection. DefaultAzureCredential must supply usable credentials. This example follows the documented settings; it has not been executed.
Assessment & evidence
limitations
The page does not establish supported n8n versions, validated S3-compatible providers, required access policies, migration behavior or failure recovery. It also provides no performance, durability or security test results.
Azure's availability notice is explicit, but equivalent S3 entitlement information is absent. Configuration variables alone do not establish that a particular deployment will authenticate or store data successfully.
reasoning
This reference fits an administrator who already operates self-hosted n8n and needs exact storage settings. Its documented credential precedence helps explain why changing an account key may have no effect when a connection string or auto-detection is active.
It provides insufficient evidence to choose a storage provider based on cost or performance, or to judge whether a deployment is ready for production.
alternatives
The documented backend choices are S3-compatible external storage and Azure Blob Storage. The page does not compare their pricing, performance or operational tradeoffs.
Within Azure, the page describes connection strings as the simplest option and suitable for local Azurite testing. It recommends automatic detection for production on Azure because no account key needs to live in n8n configuration. Account-name-and-key authentication remains another documented option; these recommendations are not accompanied by test results.
evidence
The evidence consists of the complete selected n8n documentation page. Its substantive material includes S3 and Azure variable tables, an Azure availability notice, storage-mode settings and authentication precedence.
These are documentation claims. No execution logs, benchmarks or independent deployment observations are supplied. Linked documentation is outside the assessed source.
Access & freshness
costs
The page identifies Business and Enterprise availability for self-hosted Azure storage but gives no subscription prices. Storage-provider charges, request charges, transfer charges and total operating cost are unknown.
It provides no measurements supporting cost savings from external storage.
rights
The Azure license-key requirement concerns access to the storage feature. The captured page does not state documentation reuse permissions or provide n8n software-license terms. Those rights are unknown from this source.
freshness
The available page snapshot was captured on 2026-11-23 at 10:23:06.457 UTC. The text does not identify an n8n release, publication date or last-updated date.
Compatibility with a particular installed version and changes after that capture are unknown.
actions
Before configuring Azure, confirm the deployment's Business or Enterprise entitlement, add the license key and choose whether execution data, binary data or both should use Azure. Supply the container name and one authentication method, accounting for the documented precedence.
Consult the linked external-storage guide for broader setup instructions [https://docs.n8n.io/deploy/host-n8n/configure-n8n/scaling/use-external-storage.md]. Confirm version compatibility, storage permissions and provider pricing separately, then validate authentication and storage behavior in the intended environment.
