- Create VNet with multiple subnets in Azure
- Store and retrieve metadata
- JWT authentication
- Clone the repo
- Install requirements:
pip install -r requirements.txt
- Fill in the
.envfile with your Azure credentials
uvicorn app.main:app --reloadpython scripts/generate_token.pyUse the output token as:
Authorization: Bearer <token>
{
"name": "finance-vnet",
"location": "eastus",
"resource_group": "rg-finance",
"address_space": ["10.10.0.0/16"],
"subnets": [
{"name": "subnet-db", "address_prefix": "10.10.1.0/24"},
{"name": "subnet-app", "address_prefix": "10.10.2.0/24"}
]
}Lists stored VNets from the local DB.