Skip to content

Commit 3266fbb

Browse files
committed
referenced prefixing doc
1 parent e4312fd commit 3266fbb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,12 @@ az webapp config connection-string set \
147147

148148
Just make sure you correctly set `$appName` and `$resourceGroup` to match your environment and also that the variable `$SQLAZURECONNSTR_WWIF` as also been set, as mentioned in section "Run sample locally". An example of a full script that deploy the REST API is available here: `azure-deploy.sh`.
149149

150+
Please note that connection string are accessible as environment variables from Python when running on Azure, *but they are prefixed* as documented here:
151+
152+
https://docs.microsoft.com/en-us/azure/app-service/configure-common#connection-strings
153+
154+
That's why the Python code in the sample look for `SQLAZURECONNSTR_WWIF` but the Shell script write the `WWIF` connection string name.
155+
150156
## Learn more
151157

152158
If you're new to Python and want to learn more, there is a full free Python curse here:

0 commit comments

Comments
 (0)