Database Settings using AWS Secrets manager

Hoping some one can help in V4 I was able to change the database connection settings in the register function in the index.js file using strapi.config.set I have to do this because the settings are store in AWS Secrets Manager.

I tried doing this with V5 and it doesn’t see to work. Is there a way of setting the database connection on the via a function rather then a .env file?

This topic has been created from a Discord post (1250197332029603841) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord