Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactorInsecureConnectionConfig #42972

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

xinlian12
Copy link
Member

@xinlian12 xinlian12 commented Nov 15, 2024

In previous PR #42912, we added a config to allow using insecure connections for emulator. In this PR, we are splitting the config into three different system properties so we can have a more granular config.

using COSMOS.HTTP_CONNECTION_WITHOUT_TLS_ALLOWED or COSMOS_HTTP_CONNECTION_WITHOUT_TLS_ALLOWED to allow http connection against emulator.

Using COSMOS.EMULATOR_SERVER_CERTIFICATE_VERIFICATION_DISABLED or COSMOS_EMULATOR_SERVER_CERTIFICATE_VERIFICATION_DISABLED to disable cert verification for emulator.

Using COSMOS.EMULATOR_HOST or COSMOS_EMULATOR_HOST to config the emulator host name. By default it will try to match with localhost or 127.0.0.1 or [::1] or [0:0:0:0:0:0:0:1] .

Copy link
Member

@FabianMeiswinkel FabianMeiswinkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Thanks!

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@xinlian12 xinlian12 force-pushed the refactorInsecureConnectionConfig branch from ab9849f to ed15e41 Compare November 16, 2024 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants