Access keys & secrets
Azure Key Vault holds the Entra ID app secret; per-caller API keys gate every service that calls Unisend.
contoso-mail-kv
Azure Key Vault · West Europe
client-secret-2026-h2
Xq8~…n3Fa · vc41e9b0a
29 days leftActive
client-secret-2026-h1
a2P~…Lr0d · v7f02d1c3
Expired
The API reads the current secret version from Key Vault at token acquisition; rotation never requires a redeploy.
Access policy
Exchange ApplicationAccessPolicy
The app registration is restricted to the group mail-api-senders@contoso-logistics.com (4 mailboxes). Graph calls against any other mailbox are rejected with ErrorAccessDenied.
API keys per caller
Each caller authenticates with x-api-key against a scoped key.
| Caller | Key prefix | Scopes | Requests (30d) | Last used | Status | |
|---|---|---|---|---|---|---|
| tms-backend | usk_live_7Hq2•••••••• | mail.sendtoken.read | 48,213 | 2 min ago | ||
| erp-sync | usk_live_Pz91•••••••• | mail.send | 12,904 | 11 min ago | ||
| crm-flows | usk_live_aK0m•••••••• | mail.sendlogs.read | 8,731 | 6 min ago | ||
| marketing-hub | usk_live_Wd5x•••••••• | mail.send | 1,622 | 1 h ago | ||
| legacy-intranet | usk_live_3Lr8•••••••• | mail.send | 0 | 34 days ago |