Skip to content

fix: Add Cosmos DB Account Key Output for Environment Configuration #1811

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

Merged
merged 2 commits into from
May 29, 2025

Conversation

Prasanjeet-Microsoft
Copy link
Contributor

Purpose

  • To include the missing AZURE_COSMOSDB_ACCOUNT_KEY output in the Bicep template, ensuring it is available in the generated .env file for proper local application execution and authentication when using Cosmos DB with AZURE_AUTH_TYPE=keys

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

What to Check

Verify that the following are valid:

  • Run azd up and verify the .env file includes the AZURE_COSMOSDB_ACCOUNT_KEY with a valid value.
  • Confirm the application correctly reads this variable and can authenticate against Cosmos DB.
  • Ensure no disruption or breaking changes to existing deployments or environment setups.
  • Validate local development and debugging work as expected with the updated environment variables

@Roopan-Microsoft Roopan-Microsoft merged commit 7ae4b79 into dev May 29, 2025
6 checks passed
@Roopan-Microsoft Roopan-Microsoft deleted the add-cosmosdb-account-key-output branch May 29, 2025 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants