back to home

jakeFeldman / strapi-provider-upload-azure-storage

Strapi Provider Upload Azure Storage

View on GitHub
82 stars
51 forks
14 issues

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing jakeFeldman/strapi-provider-upload-azure-storage in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/jakeFeldman/strapi-provider-upload-azure-storage)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Looking for additional maintainer This package is currently unmaintained. If you're interesting in helping maintain the package please shoot me a message. Thanks - Jake Strapi Provider Upload Azure Storage Plugin enabling image uploading to azure storage from strapi. Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. Prerequisites • strapi@4.0.0+ Installing Inside your strapi project run the following Usage To enable the provider, create or edit the file at . This is an example file for Azure storage: | Property | Required | Description | | ------------------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------| | authType | true | Whether to use a SAS key ("default") or an identity ("msi") | | account | true | Azure account name | | accountKey | if 'authType 'default' | Secret access key | | clientId | false (consumed if 'authType 'msi') | Azure user-assigned identity client ID. If not provided, system-assigned managed identity ID is used | | sasToken | false | SAS Token, either accountKey or SASToken is required if 'authType is 'default' | | serviceBaseURL | false | Base service URL to be used, optional. Defaults to | | containerName | true | Container name | | createContainerIfNotExist | false | Attempts to create the container if not existing. Must be one of 'true' or any string | | publicAccessType | false (param for 'createContainerIfNotExist') | Sets the public access of a newly created container to one of 'blob' or 'container' | | defaultPath | true | The path to use when there is none being specified. The value is ignored when containerName is . Defaults to | | cdnBaseURL | false | CDN base url | | defaultCacheControl | false | Cache-Control header value for all uploaded files | | removeCN | false | Set to true, to remove container name from azure URL | Security Middleware Configuration Due to the default settings in the Strapi Security Middleware you will need to modify the contentSecurityPolicy settings to properly see thumbnail previews in the Media Library. You should replace strapi::security string with the object bellow instead as explained in the middleware configuration documentation. To allow the azure storage content to be displayed, edit the file at . You should replace the string with the object below instead, see the Middlewares configuration documentation for more details. is optional, it is useful when connecting to Azure Storage API compatible services, like the official emulator Azurite. would then look like . When is not provided, default will be used. can also be useful when working with Azurite as the tool provides very little by way of startup scripting. is optional, it is useful when using CDN in front of your storage account. Images will be returned with the CDN URL instead of the storage account URL. is optional. It is useful when you want to allow clients to use a cached version of the file. Azure storage will return this value in the HTTP-header of the response. is optional. Some azure account configurations are such that they exclude 'container name' from the URL at which data is saved. It is by default set to false, if you want to remove container name from URL, set it to 'true'. Contributing Contributions are welcome Versioning We use SemVer for versioning. For the versions available, see the tags on this repository. Authors • **Jake Feldman** - *Initial work* - jakeFeldman License This project is licensed under the MIT License - see the LICENSE.md file for details Acknowledgments • strapi.io • Azure