-
Notifications
You must be signed in to change notification settings - Fork 462
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
[WebToolsE2E][Aspire]After adding Azure Key Vault to AppHost project, F5 failed with exception: One or more errors occurred. (No output for vaultUri) #2674
Comments
This pattern no longer works for azure resources. Dupe of #2395 |
@davidfowl the README file for Aspire.Azure.Security.KeyVault component recommends this |
That's a good point. It applies to the application and to the app host as well, but not the AddKeyVault method. @eerhardt What do you think? Do we update the readmes to add this "use existing keyvault vs new keyvault" scenario? |
If the READMEs no longer point to valid information/scenarios we need to update them. What is the recommended pattern here for someone who isn't using AzureProvisioning? (or do we start recommend using AzureProvisioning in the READMEs?) |
This: #2395 (comment) |
This has been completed with #3793. |
REGRESSION INFO: Works fine on Aspire 8.0.0-preview.3.24105.21
INSTALL STEPS
REPRO STEPS
ACTUAL
$(String[] args) in C:\Users\v-cazhang\source\repos\WebApplication2\WebApplication2.AppHost\Program.cs:line 11It shows an exception during F5
System.AggregateException
HResult=0x80131500
Message=One or more errors occurred. (No output for vaultUri)
Source=System.Private.CoreLib
StackTrace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Aspire.Hosting.DistributedApplication.Run()
at Program.
This exception was originally thrown at this call stack:
[External Code]
Inner Exception 1:
InvalidOperationException: No output for vaultUri
EXPECTED
F5 successfully.
The text was updated successfully, but these errors were encountered: