Starts in:
0 DAY
14 HRS
15 MIN
33 SEC
Starts in:
0 D
14 H
15 M
33 S
Open Closed

Tenant base Blobs configuration #3843


User avatar
0
imranStem created

I have microservice architecture. I have configured the blog provider in the administration microservice. I have a multi-tenancy configuration as well. I want to use different azure connection strings based on tenant configuration. I want to give the setting for the blob storage provider and the tenant can change the setting. I also want to give choices to tenants either they can use azure storage or aws storage. So basically I want blob configuration based on the settings of the tenant.

  • ABP Framework version: v6.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

1 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    ABP Blob Storing doesn't support tenant-based configuration by default.

    But you can customize AzureBlobProviderConfiguration like the following example: https://docs.abp.io/en/abp/latest/Blob-Storing-Custom-Provider#extra-configuration-options

    You can resolve current tenant and return custom values according to the tenant.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06