Hi,
There are no files attached but the error is clear. Resource Microsoft.KeyVault/vaults/secrets is not defined correctly. Add parent property to resource Microsoft.KeyVault/vaults/secrets. The parent resource should be of type Microsoft.KeyVault/vaults.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.