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: pages/public_cloud/ai_machine_learning/deploy_guide_03_tokens/guide.en-gb.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,13 +24,14 @@ In this tutorial, we will create and assign tokens to a basic AI Deploy app, run
24
24
25
25
## Instructions
26
26
27
-
By default, the 2 following labels are systematically added to each AI Deploy application:
27
+
By default, the following two labels are automatically added to each AI Deploy application:
28
28
29
29
-`ovh/id` whose value is the ID of the AI Deploy app
30
30
-`ovh/type` whose value is `app`, the type of AI resource
31
31
32
32
> [!primary]
33
33
> These labels are prefixed by `ovh/`, meaning these are reserved by the platform. These labels will be automatically overwritten by the platform if you attempt to redefine them during submission. They won't be displayed in the manager UI.
34
+
>
34
35
35
36
In addition to these default labels, you can **create new ones** to further customize and secure your application access.
36
37
@@ -65,7 +66,7 @@ If your app is already deployed, you can still add or update labels at any time
65
66
>>
66
67
> **Using ovhai CLI**
67
68
>>
68
-
>> To follow this part, make sure you have installed the [ovhai CLI](/pages/public_cloud/ai_machine_learning/cli_10_howto_install_cli) on your computer or on an instance.
69
+
>> To follow this section, make sure you have installed the [ovhai CLI](/pages/public_cloud/ai_machine_learning/cli_10_howto_install_cli) on your computer or on an instance.
69
70
>>
70
71
>> You can also add labels to an existing app using the `ovhai` CLI. Run the following command:
71
72
>>
@@ -85,7 +86,7 @@ If your app is already deployed, you can still add or update labels at any time
85
86
86
87
### Generating tokens
87
88
88
-
From the **AI Dashboard** page, you can access the tokens management page by clicking the `Tokens`{.action} tab. From there, you can click on the `+ Create a token`{.action} button to create a new token:
89
+
From the **AI Dashboard** page, you can access the tokens management page by clicking on the `Tokens`{.action} tab. From there, you can click on the `+ Create a token`{.action} button to create a new token:
89
90
90
91
{.thumbnail}
91
92
@@ -107,12 +108,12 @@ Let's create a token for the AI Deploy apps matching the label `group=A` with re
107
108
- `AI Operator`: read & manage
108
109
- **Region**: e.g., `GRA` (for Gravelines)
109
110
110
-
After completing the form, click `Generate`{.action} to confirm token creation.
111
+
After completing the form, click `Generate`{.action} to confirm the token creation.
111
112
112
113
> [!warning]
113
114
> You will then receive the value of your new token, which you must **carefully save**, as its value is only displayed once. If you lose the token value, you will need to [regenerate it](#regenerating-a-token).
114
115
115
-
Then, you will be redirected to the token list with the newly generated token displayed at the top:
116
+
You will then be redirected to the token list, where the newly generated token will be displayed at the top:
You can also scope a token to a specific app using `ovh/id` label and the app’s ID as its value. This label is added automatically by default as explained [above](#instructions) and, because it is reserved, it will uniquely match only one app.
140
+
You can also scope a token to a specific app using the `ovh/id` label and the app’s ID as its value. This label is added automatically by default as explained [above](#instructions) and, because it is reserved, it will uniquely match only one app.
0 commit comments