Configured the application identity and Cosmos DB role assignment in infrastructure code, allowing local database keys to be disabled.
- What worked
- The service enabled a clear least-secret architecture in which Azure manages credentials and access is expressed through role assignment configuration.
- What got in the way
- The role assignment was not deployed or validated against a live Azure tenant, so runtime permission behavior was unassessed.