Skip to content

chore: revert DB connection to managed identities#638

Merged
silvicir merged 13 commits intomasterfrom
revert-to-managed-identity-cosmos
Feb 3, 2026
Merged

chore: revert DB connection to managed identities#638
silvicir merged 13 commits intomasterfrom
revert-to-managed-identity-cosmos

Conversation

@silvicir
Copy link
Contributor

@silvicir silvicir commented Jan 7, 2026

No description provided.

@github-actions github-actions bot added the apps label Jan 7, 2026
@silvicir silvicir changed the title revert to managed identities chore: revert DB connection to managed identities Feb 3, 2026
@silvicir silvicir marked this pull request as ready for review February 3, 2026 08:48
@silvicir silvicir requested a review from a team as a code owner February 3, 2026 08:48
@silvicir silvicir requested review from Copilot, grausof and mastro993 and removed request for a team February 3, 2026 08:48
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR reverts the Cosmos DB connection method from connection strings back to Azure Active Directory managed identities for authentication, improving security by eliminating the need to manage connection strings.

Changes:

  • Switched CosmosClient initialization from connection string to managed identity authentication using aadCredentials
  • Simplified configuration structure by removing connection string handling logic
  • Updated changeset to document the switch to Managed Identity

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
apps/io-wallet-user-func/src/app/main.ts Updated CosmosClient to use aadCredentials and endpoint instead of connectionString
apps/io-wallet-user-func/src/app/config.ts Removed connection string from Azure config type and simplified environment reading logic
.changeset/sweet-wings-act.md Added changeset documenting the switch to Managed Identity authentication

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@silvicir silvicir merged commit c9157f7 into master Feb 3, 2026
12 checks passed
@silvicir silvicir deleted the revert-to-managed-identity-cosmos branch February 3, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants