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: docs/developer/rest-auth.md
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -15,12 +15,13 @@ Run:ai APIs are accessed using *bearer tokens*. A token can be obtained in sever
15
15
* Go to `Settings & Tools`, `Application` and create a new Application.
16
16
* Copy the `<APPLICATION>` and `<SECRET KEY>` to be used below
17
17
18
+
18
19
### Access rules for the Application
19
20
20
-
* Set the required roles:
21
-
* Select `Researcher`to manipulate *Jobs* using the [Cluster API](cluster-api/submit-rest.md). To provide access to a specific project, you will also need to go to `Application | Projects` and provide the Application with access to specific projects.
22
-
* Select `Editor` to manipulate *Projects* and *Departments* using the [Administrator REST API](admin-rest-api/overview.md).
23
-
* Select `Administrator` to manipulate *Users*, *Tenant Settings* and *Clusters* using the [Administrator REST API](admin-rest-api/overview.md).
21
+
In order for you API requests to be accepted, you will need to set access rules for the application.
22
+
To assign roles to an application, see [Create or Delete rules](../admin/runai-setup/access-control/rbac.md#create-or-delete-rules).
23
+
24
+
Use the [Roles](../admin/runai-setup/access-control/rbac.md#roles) table to assign the correct roles to the application.
24
25
25
26
## Request an API Token
26
27
@@ -30,7 +31,8 @@ Use the above parameters to get a temporary token to access Run:ai as follows.
30
31
31
32
Replace `<COMPANY-URL>` below with:
32
33
33
-
* For SaaS installations use `<company>.run.ai`
34
+
* For SaaS installations use `<company>.run.ai`
35
+
34
36
* For self-hosted use the Run:ai user interface URL.
0 commit comments