You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to override the value of AzureStorageSettings:ConnectionString configuration with a secret stored in Azure Devops. In the past, I used to simply add -AzureStorageSettings:ConnectionString $(AzureStorageConnectionString) to the App settings section of the task and that worked perfectly.
However, with version 4, I get an error saying that colon character is not allowed. Is there a new way of achieving this or a way that I can espace the colon character? I tried everything that I can think of.
The text was updated successfully, but these errors were encountered:
The solution is to use __ instead of : in App settings. The app settings get added as environment variables and Microsoft.Extensions.Configuration can handle __ for nesting configs.
Hi,
In my appsettings.json file I have settings like this:
I want to override the value of AzureStorageSettings:ConnectionString configuration with a secret stored in Azure Devops. In the past, I used to simply add
-AzureStorageSettings:ConnectionString $(AzureStorageConnectionString)
to the App settings section of the task and that worked perfectly.However, with version 4, I get an error saying that colon character is not allowed. Is there a new way of achieving this or a way that I can espace the colon character? I tried everything that I can think of.
The text was updated successfully, but these errors were encountered: