This question already has an answer here:
So I was wondering or was hoping to get some clarity on the dependencies in a sfdx-project.json file.
I know that for my project / scratch org I can list managed package dependencies within the sfdx-project.json file using a packageId and versionNumber. But does that mean if I define all of the dependencies and create my scratch org will those managed packages automatically be installed or do I still need to manually install them using the sfdx-cli? I ask this because it's a bit tedious to have to install each managed package using the cli every time I recreate the scratch org.
Furthermore we have some packages that require an installationKey and after some digging I found that the key is not yet supported in the sfdx-project.json file in the following url: Sfdx Dev Considerations.
So even if it did in fact install the managed packages from the project config file, I would not be able to install any of the ones that require an installationkey, is that correct?