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/computer-vision/includes/environment-variables.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,8 @@ In this example, write your credentials to environment variables on the local ma
17
17
18
18
To set the environment variable for your key and endpoint, open a console window and follow the instructions for your operating system and development environment.
19
19
20
-
1. To set the `VISION_KEY` environment variable, replace `your-key` with one of the keys for your resource.
21
-
2. To set the `VISION_ENDPOINT` environment variable, replace `your-endpoint` with the endpoint for your resource.
20
+
1. To set the `VISION_KEY` environment variable, replace `<your_key>` with one of the keys for your resource.
21
+
2. To set the `VISION_ENDPOINT` environment variable, replace `<your_endpoint>` with the endpoint for your resource.
Copy file name to clipboardExpand all lines: articles/ai-services/computer-vision/includes/face-environment-variables.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,29 +15,29 @@ In this example, write your credentials to environment variables on the local ma
15
15
16
16
To set the environment variable for your key and endpoint, open a console window and follow the instructions for your operating system and development environment.
17
17
18
-
1. To set the `VISION_KEY` environment variable, replace `your-key` with one of the keys for your resource.
19
-
2. To set the `VISION_ENDPOINT` environment variable, replace `your-endpoint` with the endpoint for your resource.
18
+
1. To set the `FACE_APIKEY` environment variable, replace `<your_key>` with one of the keys for your resource.
19
+
2. To set the `FACE_ENDPOINT` environment variable, replace `<your_endpoint>` with the endpoint for your resource.
20
20
21
21
#### [Windows](#tab/windows)
22
22
23
23
```console
24
-
setx VISION_KEY your-key
24
+
setx FACE_APIKEY <your_key>
25
25
```
26
26
27
27
```console
28
-
setx VISION_ENDPOINT your-endpoint
28
+
setx FACE_ENDPOINT <your_endpoint>
29
29
```
30
30
31
31
After you add the environment variables, you may need to restart any running programs that will read the environment variables, including the console window.
32
32
33
33
#### [Linux](#tab/linux)
34
34
35
35
```bash
36
-
exportVISION_KEY=your-key
36
+
exportFACE_APIKEY=<your_key>
37
37
```
38
38
39
39
```bash
40
-
exportVISION_ENDPOINT=your-endpoint
40
+
exportFACE_ENDPOINT=<your_endpoint>
41
41
```
42
42
43
43
After you add the environment variables, run `source ~/.bashrc` from your console window to make the changes effective.
0 commit comments