Load other function before Strapi load config/database.js


I need to access AWS Secret Manager which I used to save the DB credential so I dont need to put my DB credential in ENV.

but, how to tell strapi to run ./GetSomeSecret.js in first boot before system load ./config/database.js ?

@bram_abe Did you received any support to fix your problem? I’m facing the same problem but with google secret manager. If you have some suggest, please leave a message. Thank you.