Azure Blob Storage Connector Example Implementation

Content Type: Module
Categories: Connectors,Data

Overview

Azure Blob Storage Connector Example Implementation

This module was created to help guide developers through implementing Azure Blob Storage Connector v.2.1.0 operations and authentication methods.

Documentation

Typical usage scenario

The Azure Blob Storage Connector Example Implementation is there to help Mendix developers implement the Azure Blob Storage Connector. It helps by

  1. Showcasing authentication setups. Complete with guidance on how to set up your Azure/EntraID where relevant
  2. Example implementation of the Azure Blob Storage Connector supported operations

Features and limitations

The example implementation has showcases on setting up SSO using the OIDC SSO module, using application based access tokens or the Blob Storage specific Shared Access Signatures (SAS).

In addition, the example implementation showcases an example flow using most Blob Storage operations supported by the Azure Blob Storage Connector. We also showcase the following operations on their own:

  • ListContainers
  • ListBlobs
  • PutBlob
  • GetBlob
  • DeleteBlob
  • GetUserDelegationKey
  • CreateSASToken

Dependencies

  • Azure Blob Storage Connector
  • OIDC SSO
  • Encryption (don't forget to set the EncryptionKey constant to a random string of 32 chars!)
  • CommunityCommons
  • NanoFlow Commons
  • MxModelReflection
  • UserCommons
  • Events
  • DataWidgets
  • ComboBox

Configuration

  1. Download the Azure Blob Storage Connector Example Implementation and all of the dependencies from the Mendix marketplace.
  2. Right-click any resulting errors to solve them.
  3. Create a Anonymous app role, set "Allow anonymous users" under the Anonymous users tab of app security to "yes" and select the "Anonymous" app role as "Anonymous user role".
  4. Select the OIDC.Anonymous & Example.Anonymous module roles for the Anonymous app role you just created.
  5. Set role-based home page for the Anonymous role to ExampleImplementation.Login_Web_Custom.
  6. Set the ExampleImplementation_Overview (located in the Homepage folder of the ExampleImplementation module) as your default home page.
  7. Add the User module role from the ExampleImplementation module to the Administrator and User application roles.
  8. Run the application and log in as MxAdmin and start with one or more of the Authentication Showcases before trying out the Blob Storage Connector Showcase.

 

Releases