You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Today, I must use the CosmosClient constructor that takes ROPC instead of the Entra-specific ComsosClient constructor. Most of my applications use Entra authentication by default per Microsoft's published best practices. Unfortunately, this means that I need to create a second permutation of my client initialization logic for testing and development scenarios (ex: devcontainers).
An opt-in way to say "accept Entra authentication but don't actually verify it." It could be some flag on the emulator that allows you to connect with literally any Entra token.
So, I should be able to connect to the emulator using the same client logic (new CosmosClient("<endpoint>", new DefaultAzureCredential())) in both my production application and any integration or development test suite. This is assuming that I'm reading my endpoint from a configuration source.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Today, I must use the CosmosClient constructor that takes ROPC instead of the Entra-specific ComsosClient constructor. Most of my applications use Entra authentication by default per Microsoft's published best practices. Unfortunately, this means that I need to create a second permutation of my client initialization logic for testing and development scenarios (ex: devcontainers).
This leads to messy code like:
Describe the solution you'd like
An opt-in way to say "accept Entra authentication but don't actually verify it." It could be some flag on the emulator that allows you to connect with literally any Entra token.
So, I should be able to connect to the emulator using the same client logic (
new CosmosClient("<endpoint>", new DefaultAzureCredential())
) in both my production application and any integration or development test suite. This is assuming that I'm reading my endpoint from a configuration source.The text was updated successfully, but these errors were encountered: