AzureFilesystemPlugin
Registers the azure filesystem driver alias and publishes filesystem.disks.azure.* config defaults.
Requires a PSR-18 ClientInterface to already be bound in the container (bring your own HTTP client, same as quioteframework/session-azure).
Synopsis
Section titled “Synopsis”final class AzureFilesystemPlugin implements PluginInterface
| Implements | PluginInterface |
| Source | AzureFilesystemPlugin.php |
Methods
Section titled “Methods”| Method | Description |
|---|---|
register(PluginRegistrar $registrar): void | Publishes the filesystem.disks.azure.* defaults, registers the azure driver alias and binds AzureFilesystemAdapter as a singleton. |
register()
Section titled “register()”public function register(PluginRegistrar $registrar): void
Publishes the filesystem.disks.azure.* defaults, registers the azure driver alias and binds AzureFilesystemAdapter as a singleton.
The adapter’s factory reads account name, auth strategy, container, optional endpoint and key prefix from config at resolution time and pulls the PSR-18 client out of the container then, so registering this plugin without an HTTP client bound only fails once the disk is used.
filesystem.disks.azure.auth selects how requests are authorized: shared_key (default, needs account_key), workload_identity (AKS, reads the webhook’s own environment variables), cli (a developer’s az login session) or chain (workload identity, falling back to the CLI). Only shared_key ever reads a storage account key.
| Parameter | Type | Description |
|---|---|---|
$registrar | PluginRegistrar |