Skip to content

Commit 5e4f546

Browse files
authored
Updated key
Trying to get all subscription keys in a standard format across all services. <SERVICE>_SUBSCRIPTION_KEY
1 parent 6f9d741 commit 5e4f546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Search/BingAutoSuggest/src/main/java/com/microsoft/azure/cognitiveservices/search/autosuggest/samples/BingAutoSuggestSample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static void main(String[] args) {
6666
//=============================================================
6767
// Authenticate
6868

69-
final String subscriptionKey = System.getenv("AZURE_BING_SAMPLES_API_KEY");
69+
final String subscriptionKey = System.getenv("BING_AUTOSUGGEST_SUBSCRIPTION_KEY");
7070
final String customConfigId = System.getenv("AZURE_BING_SAMPLES_CUSTOM_CONFIG_ID");
7171

7272
BingAutoSuggestSearchAPI client = BingAutoSuggestSearchManager.authenticate(subscriptionKey);

0 commit comments

Comments
 (0)