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
[APPS-2351] Update service account info for App Builder and Workflows (#31204)
* update service account info
* Update content/en/actions/app_builder/access_and_auth.md
Co-authored-by: Brett Blue <[email protected]>
---------
Co-authored-by: Brett Blue <[email protected]>
Copy file name to clipboardExpand all lines: content/en/actions/app_builder/access_and_auth.md
+34-2Lines changed: 34 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,45 @@ aliases:
6
6
- /actions/app_builder/auth
7
7
---
8
8
9
-
A few tools control access and authentication for apps and their components.
9
+
A few tools control access and authentication for apps and their components.
10
10
11
11
## App execution identity
12
12
13
-
A published app runs using the Datadog user identity of its author. The author is listed both in the **All Apps** view and in **App Properties**.
13
+
A published app runs using the Datadog user identity of its author, or a service account associated with the app. The author is listed both in the **All Apps** view and in **App Properties**.
14
14
15
15
In edit mode, an app runs as the current editor.
16
16
17
+
### Use a service account
18
+
19
+
A service account can be associated with an app and act as the identity of the app when it runs. A service account can:
20
+
- resolve the connections defined in the app queries at runtime
21
+
- provide an identity for app executions
22
+
- provide an identity for app [audit trails][7]
23
+
24
+
To create a service account for an app, you must have either the Datadog admin role, or a custom role with the **Service Account Write** permission. The service account you create adopts your role and permissions. For more information on service accounts and permissions, see [Service accounts][2] or [Role based access control][3].
25
+
26
+
#### Configure your app to run as a service account
27
+
28
+
1. Click the cog (**Settings**) icon.
29
+
1. Click **Manage app identity**.
30
+
1. Select **Run as Service Account**.
31
+
1. Select a role for your service account user or select an existing service account.
32
+
1. Click **Save** to save the service account and apply the changes.
33
+
34
+
When you run an app, the service account user resolves the connections defined in the app queries. Therefore, the service account user needs the `connections_resolve` permission. The Datadog Admin Role and the Datadog Standard Role include the `connections_resolve` permission.
35
+
36
+
#### View service account details
37
+
38
+
1. Click the cog (**Settings**) icon.
39
+
1. Select **Manage app identity**.
40
+
1. Click on your service account next to *Run As*.
41
+
42
+
#### Remove a service account associated with an app
43
+
44
+
1. Click the cog (**Settings**) icon.
45
+
1. Select **Manage app identity**.
46
+
1. Click **Remove service account**.
47
+
17
48
## Action credentials
18
49
19
50
Because app [actions][1] connect with external software systems, you may need to authenticate your Datadog account to a corresponding integration. An app can run successfully only if every action that requires authentication can verify the identity of your Datadog account.
@@ -109,3 +140,4 @@ To restrict access to the app, perform the following steps in the app canvas:
Copy file name to clipboardExpand all lines: content/en/actions/workflows/access_and_auth.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,22 +41,23 @@ To create a service account for a workflow, you must have either the Datadog adm
41
41
You can dynamically create a service account for your workflow when you [add an automatic trigger][4].
42
42
43
43
1. Click the cog (**Settings**) icon.
44
-
1. Click **Create a service account**.
45
-
1. Select a role for your service account user.
46
-
1.Click **Create** to save the service account.
47
-
1. Save your workflow to apply the changes.
44
+
1. Click **Manage workflow identity**.
45
+
1. Select **Run as Service Account**.
46
+
1.Select a role for your service account user or select an existing Service Account.
47
+
1.Click **Save** to save the service account and apply the changes.
48
48
49
49
When you run a workflow, the service account user resolves the connections defined in the workflow actions. Therefore, the service account user needs the `connections_resolve` permission. The Datadog Admin Role and the Datadog Standard Role include the `connections_resolve` permission.
50
50
51
51
#### View service account details
52
52
53
53
1. Click the cog (**Settings**) icon.
54
-
1. Select your service account from the dropdown menu.
54
+
1. Select **Manage workflow identity**.
55
+
1. Click on your service account next to *Run As*.
55
56
56
-
#### Remove a service account associated with workflow
57
+
#### Remove a service account associated with a workflow
57
58
58
59
1. Click the cog (**Settings**) icon.
59
-
1. Select your service account from the dropdown menu.
0 commit comments