How can I use a connection string from Azure Key Vault in App Host for Redis connection #1579
-
I created an Aspire application from a template that includes a Redis cache. Now, I am trying to leverage Azure Key Vault to get a connection string and pass it to the resources that will consume the caching (e.g., FE application). My goal is to avoid exposing the connection string as an environment variable in the application that consumes it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The apphost can spin up a keyvault resource a pass connection information to the application. You can use the keyvault configuration provider in your application to pull configuration data from keyvault. |
Beta Was this translation helpful? Give feedback.
The apphost can spin up a keyvault resource a pass connection information to the application. You can use the keyvault configuration provider in your application to pull configuration data from keyvault.