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/ai-services/speech-service/includes/common/environment-variables.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,14 +14,14 @@ To set the environment variables for your Speech resource key and region, open a
14
14
15
15
- To set the `SPEECH_KEY` environment variable, replace *your-key* with one of the keys for your resource.
16
16
- To set the `SPEECH_REGION` environment variable, replace *your-region* with one of the regions for your resource.
17
-
- To set the `Endpoint` environment variable, replace `your-endpoint` with the actual endpoint of your Speech resource.
17
+
- To set the `ENDPOINT` environment variable, replace `your-endpoint` with the actual endpoint of your Speech resource.
18
18
19
19
#### [Windows](#tab/windows)
20
20
21
21
```console
22
22
setx SPEECH_KEY your-key
23
23
setx SPEECH_REGION your-region
24
-
setx Endpoint your-endpoint
24
+
setx ENDPOINT your-endpoint
25
25
```
26
26
27
27
> [!NOTE]
@@ -38,7 +38,7 @@ Edit your *.bashrc* file, and add the environment variables:
38
38
```bash
39
39
export SPEECH_KEY=your-key
40
40
export SPEECH_REGION=your-region
41
-
exportEndpoint=your-endpoint
41
+
exportENDPOINT=your-endpoint
42
42
```
43
43
44
44
After you add the environment variables, run `source ~/.bashrc` from your console window to make the changes effective.
@@ -52,7 +52,7 @@ Edit your *.bash_profile* file, and add the environment variables:
52
52
```bash
53
53
export SPEECH_KEY=your-key
54
54
export SPEECH_REGION=your-region
55
-
exportEndpoint=your-endpoint
55
+
exportENDPOINT=your-endpoint
56
56
```
57
57
58
58
After you add the environment variables, run `source ~/.bash_profile` from your console window to make the changes effective.
@@ -66,7 +66,7 @@ For iOS and macOS development, you set the environment variables in Xcode. For e
66
66
1. Under **Environment Variables** select the plus (+) sign to add a new environment variable.
67
67
1. Enter `SPEECH_KEY` for the **Name** and enter your Speech resource key for the **Value**.
68
68
69
-
To set the environment variable for your Speech resource region, follow the same steps. Set `SPEECH_REGION` to the region of your resource. For example, `westus`. Set `Endpoint` to the endpoint of your resource
69
+
To set the environment variable for your Speech resource region, follow the same steps. Set `SPEECH_REGION` to the region of your resource. For example, `westus`. Set `ENDPOINT` to the endpoint of your resource
70
70
71
71
For more configuration options, see [the Xcode documentation](https://help.apple.com/xcode/#/dev745c5c974).
0 commit comments