Quick Start
Your first 5 minutes with miniblue. By the end you will have created a resource group, stored a secret in Key Vault, and uploaded a blob -- all locally, no Azure account needed.
1. Start miniblue
Wait for the health check to pass:
2. Create a resource group
Every Azure resource lives inside a resource group. Create one:
Response:
{
"id": "/subscriptions/sub1/resourceGroups/quickstart-rg",
"name": "quickstart-rg",
"type": "Microsoft.Resources/resourceGroups",
"location": "eastus",
"properties": {
"provisioningState": "Succeeded"
}
}
List all resource groups to confirm:
3. Store a secret in Key Vault
Create a secret called db-password in a vault called myvault:
Retrieve it:
4. Upload a blob
Create a storage container and upload a file:
# Create container
curl -X PUT "http://localhost:4566/blob/myaccount/mycontainer"
# Upload blob
curl -X PUT "http://localhost:4566/blob/myaccount/mycontainer/hello.txt" \
-H "Content-Type: text/plain" \
-d "Hello from miniblue!"
# Download blob
curl "http://localhost:4566/blob/myaccount/mycontainer/hello.txt"
# Create container
azlocal storage container create --account myaccount --name mycontainer
# Upload blob
azlocal storage blob upload --account myaccount --container mycontainer \
--name hello.txt --data "Hello from miniblue!"
# Download blob
azlocal storage blob download --account myaccount --container mycontainer \
--name hello.txt
Output:
5. Clean up
miniblue uses in-memory storage by default. All data is gone when the process stops:
What's next?
| Goal | Guide |
|---|---|
| Use Terraform | Terraform guide |
| Explore all services | Services overview |
| Configure ports and TLS | Configuration |
| Use the Azure CLI | Azure CLI guide |