Skip to content

Commit de5ecf3

Browse files
ksun154brett0000FF
andauthored
[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]>
1 parent f858b16 commit de5ecf3

File tree

2 files changed

+42
-9
lines changed

2 files changed

+42
-9
lines changed

content/en/actions/app_builder/access_and_auth.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,45 @@ aliases:
66
- /actions/app_builder/auth
77
---
88

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.
1010

1111
## App execution identity
1212

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**.
1414

1515
In edit mode, an app runs as the current editor.
1616

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+
1748
## Action credentials
1849

1950
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:
109140
[4]: /account_management/rbac/
110141
[5]: https://app.datadoghq.com/app-builder/
111142
[6]: https://datadoghq.slack.com/
143+
[7]: /account_management/audit_trail/#overview

content/en/actions/workflows/access_and_auth.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,23 @@ To create a service account for a workflow, you must have either the Datadog adm
4141
You can dynamically create a service account for your workflow when you [add an automatic trigger][4].
4242

4343
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.
4848

4949
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.
5050

5151
#### View service account details
5252

5353
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*.
5556

56-
#### Remove a service account associated with workflow
57+
#### Remove a service account associated with a workflow
5758

5859
1. Click the cog (**Settings**) icon.
59-
1. Select your service account from the dropdown menu.
60+
1. Select **Manage workflow identity**.
6061
1. Click **Remove service account**.
6162

6263
## Action credentials

0 commit comments

Comments
 (0)