Please help on Connecting Hangfire with Cloud foundry VCAP_Services? AWS Postgres DB

We have Postgres DB hosted in Cloud foundry and there is no direct connection string available to use it in UsePostgreSqlStorage() method. Is there any workaround to achieve this? I have tried all possible options.