Thanks for the suggestion, that’s what I ended up doing @DMehaffy
I created a custom start_app.js file as below
function updateEnvFromVault(){
/* update logic... */
}
async function main(){
await updateEnvFromVault()
strapi().start();
}
main()