Open Closed

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


User avatar
0
mian.tayyab@innoppia.pk created

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 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team 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 March 25, 2024, 15:11