打开 关闭

What is the best way to connect with AWS RDS Postgres #4391


User avatar
0
mian.tayyab@innoppia.pk 创建

Hi Support Team,

We are saving tenant connection string like this "Host={0};Port={1};User ID={2};Database=TenantDB-{4};Password={3}" We don't want to keep those information into database. We want to replace it at runtime.

I tried to change it in RDSMultiTenantConnectionStringResolver and ConnectionResolver

What is best way and point to change those host, port, user and password values?.

Prompt response will be appreciated.

Thanks


1 答案
  • User Avatar
    0
    maliming 创建
    支持团队 Fullstack Developer

    hi

    You can replace the MultiTenantConnectionStringResolver.

    https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.MultiTenancy/Volo/Abp/MultiTenancy/MultiTenantConnectionStringResolver.cs#L12

Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11