Nowadays it is very common to use repository pattern to improve readability and maintainability of projects. But things gets complex when you have multiple repositories and services interacting with each other.
When you have many of these it is important to find ways to generalize things so original requirement of readability and maintainability is achieved.
When working with large scale projects proper organization of resources is a necessary. Azure has resource groups for grouping resources as required.
Resource Manager in Azure
You can use resource manager to organize resources within a subscription. Use it to control access, audit and tagging resources. Actions you take in azure are handles through resource managers.
Following is how azure structure can be seen from scope prospective
In large scale deployments you can use azure templates for automate tasks. Templates are simply JSON files containing metadata about the resources.
Integrating Azure Key Vault in Azure Resource Manager template deployment
You can pre-store the password in an Azure key vault and then customize the template to retrieve the password from the key vault during the deployment. Check this tutorial.