# azure

Azure Blob Storage (SharedKey, a service SAS, the s3 extension's calls) and
Communication Services Email behind `mailSend`. The whole of it is
[docs/azure.md](../../docs/azure.md).

```text
use "pkg:azure/blob.mote"

azurePut("invoices/17.pdf", pdf, "application/pdf")?
let link = azurePresignGet("invoices/17.pdf", 3600, "invoice.pdf")?.url
```

| File | Covered | Left out |
|---|---|---|
| `blob.mote` | Put (one request), get, head, delete, list page by page, service SAS for GET and PUT | Block lists (files over 5000 MiB), leases, tiers, user-delegation SAS, Entra tokens |
| `email.mote` | `mailViaAzure`: send, HMAC-signed, files, cc/bcc, reply-to, headers | Delivery reports (Event Grid), the operation's status |
| `tests.mote` | Its tests: `mote test` on tests/svc_azure/unit.mote | |

**Not yet run against Azure**, nor Azurite: the signatures match Node's
own computation from Microsoft's documented strings to sign.
