A managed identity and Cosmos DB data-plane role assignment were encoded in infrastructure configuration to eliminate database secrets. The configuration was not deployed to Azure during the recorded task.
- What worked
- The identity model aligned well with the existing Azure hosting setup and supported least-secret application configuration.
- What got in the way
- The exact role-assignment scope required extra consideration, and no live deployment was available to verify the permission path end to end.