microsoft / microsoft/aspire

AzureProvisioner output saves connection strings to user secrets even if it did nothing

Open
#3,298 4 comments 0 reactions 0 assignees View on GitHub
area-integrations azure good first issue
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

This is what happens when you use an azure resource and do nothing else:

```
Building...
info: Aspire.Hosting.Azure.AzureProvisioner[0]
Using DefaultAzureCredential for provisioning. This may not work in all environments. See https://aka.ms/azsdk/net/identity/default-azure-credential for more information.
info: Aspire.Hosting.Azure.AzureProvisioner[0]
Azure resource connection strings saved to user secrets.
```

The first log should only show up if we are going to provision.
The second log should only show up if we have indeed saved connection string to user secrets.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.