-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
cosmosEmulatorVnextPreviewissues raised for the vNext Linux based emulator (preview)issues raised for the vNext Linux based emulator (preview)feature
Milestone
Description
Describe the bug
The linux emulator does not error out when the wrong key is used. Is this the expected behavior?
To Reproduce
Steps to reproduce the behavior:
- Start the emulator
docker run -d -p 8081:8081 -p 1234:1234 mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:vnext-preview- Run the following python sample code
from azure.cosmos import CosmosClient
endpoint = "http://localhost:8081"
key = "testpassword"
client = CosmosClient(endpoint, key)
for db in client.list_databases():
print(db)I expected the code to not work but it connects successfully and I can perform operations like creating new databases.
Desktop (please complete the following information):
- OS: MacOS
- Browser: Edge
- SDK version:
vnext-preview - SDK language: Python
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cosmosEmulatorVnextPreviewissues raised for the vNext Linux based emulator (preview)issues raised for the vNext Linux based emulator (preview)feature
Type
Projects
Status
No status