Skip to content

Commit 89d1b5d

Browse files
authored
Updated key name
1 parent aa59a64 commit 89d1b5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Search/BingCustomSearch/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ To get these samples running locally, simply get the pre-requisites above, then:
2727

2828
1. git clone https://github.com/Azure-Samples/cognitive-services-java-sdk-samples.git
2929
2. cd cognitive-services-java-sdk-samples/Search/BingCustomSearch
30-
3. Either set a system environment variable named `AZURE_BING_SAMPLES_API_KEY` to your cognitive Services API key, or copy your key into the program. If you are going to set the AZURE_BING_SAMPLES_API_KEY environment variable, make sure to set it based on your OS, then reopen your command prompt or IDE. If not, you might get an API key not found exception.
30+
3. set a system environment variable named `BING_CUSTOM_SEARCH_SUBSCRIPTION_KEY` with your subscription key as a value, then reopen your command prompt or IDE. If not, you might get an API key not found exception.
3131
4. Set env variable AZURE_BING_SAMPLES_CUSTOM_CONFIG_ID to your custom configuration id. Can set to 1 if you do not have a custom config id.
3232
5. mvn compile exec:java
3333

@@ -41,4 +41,4 @@ If you don't have a Microsoft Azure subscription you can get a FREE trial accoun
4141

4242
---
4343

44-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
44+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.

0 commit comments

Comments
 (0)