Set secrets backend to Vault programatically?

Hi,

I’m trying to work out how to programmatically set the secrets backend to use Vault.

Is this possible either by env vars, the CLI, API, or another method? Or perhaps is it done automatically if you set the vault url and access key env vars?

Any help would be much appreciated!
Regards,
Andy