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
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/quickstart-java-spring-app.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,7 +139,7 @@ Use the [Spring Initializr](https://start.spring.io/) to create a new Spring Boo
139
139
1. Create a new file named `bootstrap.properties` under the resources directory of your app, and add the following lines to the file. Replace the sample values with the appropriate properties for your App Configuration store.
1. Set an environment variable named **APP_CONFIGURATION_CONNECTION_STRING**, and set it to the access key to your App Configuration store. At the command line, run the following command and restart the command prompt to allow the change to take effect:
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/use-key-vault-references-spring-boot.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,6 +137,14 @@ To add a secret to the vault, you need to take just a few additional steps. In t
137
137
138
138
## Update your code to use a Key Vault reference
139
139
140
+
1. Create an environment variable called **APP_CONFIGURATION_ENDPOINT**. Set its value to the endpoint for your App Configuration store. You can find the endpoint on the **Access Keys** blade in the Azure portal.
141
+
142
+
1. Open *bootstrap.properties* in the *resources* folder. Update this file to use the App Configuration endpoint, rather than a connection string.
0 commit comments