Skip to content

Conversation

@davidfowl
Copy link
Member

@davidfowl davidfowl commented Apr 13, 2025

Description

  • Moved token credential resolution out of the AzureProvisioner so it can shared.
  • Configure the secret resolving in both configure and provision cases.

Fixes #8750

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • No (Manual coverage to keep the change small in an attempt to patch in 9.2.x)
  • Did you add public API?
    • No
  • Does the change make any security assumptions or guarantees?
    • No
  • Does the change require an update in our Aspire docs?
    template=02-docs-request.yml)):
    • No

- Moved token credential resolution out of the AzureProvisioner so it can shared.
- Configure the secret resolving in both configure and provision cases.
@github-actions github-actions bot added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Apr 13, 2025
@mitchdenny
Copy link
Member

Looks good. Should we be hotfixing this?

@davidfowl
Copy link
Member Author

Yep

@davidfowl davidfowl changed the title Fixed resolving secrets for keyvault refernces in run mode Fixed resolving secrets for keyvault references in run mode Apr 13, 2025
@onionhammer
Copy link
Contributor

Legend

@davidfowl davidfowl merged commit 9918f8b into main Apr 13, 2025
175 checks passed
@davidfowl davidfowl deleted the davidfowl/fix-kv branch April 13, 2025 15:00
@davidfowl
Copy link
Member Author

/backport to release/9.2

@github-actions
Copy link
Contributor

Started backporting to release/9.2: https://github.com/dotnet/aspire/actions/runs/14430623244

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unclear how to create custom bicep resources which generate secrets

3 participants