Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Flysystem - Azure Blob Storage

No security coverage

Part of the Flysystem ecosystem · 6 projects

View on drupal.org

Provides plugin to integrate Azure Blob Storage with Flysystem module.

Requirements

Requires the Flysystem module:
https://www.drupal.org/project/flysystem

and the league/flysystem-azure-blob-storage library:
https://github.com/thephpleague/flysystem-azure-blob-storage

Requires an Azure Blob Storage account.

Install

Install can be done through composer, as dependencies are required:

composer require drupal/flysystem_az_blob

Configuration

You can get all the configuration variables you need from Azure:

- Goto storage account you want to use and then Settings -> Access keys
- Click the show keys button

Make a note of the following:

  • DefaultEndpointsProtocol
  • AccountName
  • AccountKey
  • EndpointSuffix
  • Container Name (Blob service -> Containers in the storage account)

When you have these, add the below to your web/sites/default/settings.php file:

$schemes = [
  'az_blob' => [
    'driver' => 'azure_blob_storage',
    'config' => [
      'name' => '<your account name>',
      'key' => '<your account key>',
      'container' => '<your container name>',
      'prefix' => '<your prefix>',
      'endpointSuffix' => '<your endpoint suffix>',
      'protocol' => 'https',
    ],
    'cache' => TRUE,
    #'serve_js' => TRUE,
    #'serve_css' => TRUE,
  ],
];
$settings['flysystem'] = $schemes;

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Mar 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
1.x-dev Dev Mar 15, 2023