How to choose default credentials before installation?

Hi,

I need to change the default credentials for the management tenant and the default tenant to end the installation other than through the UI.

In the documentation it only talks about changing the passwords after exposing Cumulocity on the network and via the UI, as shown here: Installation - Cumulocity documentation

Is there a way to choose the default credentials other than through the UI ? Via a configuration before the installation or via an API call for example ?