Skip to content

Commit a6fcbe8

Browse files
committed
Rough draft
1 parent a70c636 commit a6fcbe8

File tree

9 files changed

+82
-19
lines changed

9 files changed

+82
-19
lines changed

blog-service/2025-03-01-manage.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: Service Accounts (Manage)
3+
image: https://help.sumologic.com/img/sumo-square.png
4+
keywords:
5+
- manage
6+
- access keys
7+
- service accounts
8+
hide_table_of_contents: true
9+
---
10+
11+
import useBaseUrl from '@docusaurus/useBaseUrl';
12+
13+
We are happy to announce that you can now create service accounts in Sumo Logic. Service accounts allow you to create access keys that can be used in scripts or automation. Service accounts are not tied to user accounts, and can be used for authentication needed for system services.
14+
15+
You can use services accounts to provide authentication for operations such as:
16+
* Infrastructure as code (for example, Terraform).
17+
* SCIM user and role management from an identity provider.
18+
* Third party integrations.
19+
20+
[Learn more](/docs/manage/security/service-accounts).
21+
22+
<img src={useBaseUrl('/img/security/service-accounts-page.png')} alt="Service Accounts tab" style={{border: '1px solid gray'}} width="800"/>

docs/manage/security/access-keys.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ In Sumo Logic, you'll need an access key to:
1010

1111
* **Register new Collectors**. When you install a Collector, in addition to having a role that grants you the **Manage Collectors** capability, you must supply an access key. You can use a different access key for each Collector, or use the same access key for multiple Collectors. The only time a Collector uses the access key is at installation, so if a key is deleted after a Collector has been set up, the Collector isn't affected.
1212
* **Use Sumo Logic APIs**. You must supply an access key to use the Sumo Logic APIs. See [API Authentication](/docs/api/getting-started#authentication) for details.
13+
* **Run scripts or automation**. Create access keys on [service accounts](/docs/manage/security/service-accounts) to provide authentication for scripts or automation.
1314

1415
## Prerequisites
1516

@@ -19,10 +20,10 @@ In Sumo Logic, you'll need an access key to:
1920

2021
## Create an access key
2122

22-
### From the Personal Access Keys page
23+
### From the Personal Access Keys tab
2324

2425
1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select your username and then **Preferences > Personal Access Keys**.<br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the top menu select your username, and then under **Preferences** select **Personal Access Keys**. You can also click the **Go To...** menu at the top of the screen and select **Personal Access Keys**.
25-
1. On the **Personal Access Keys** tab, click **+ Add Access Key**.<br/><img src={useBaseUrl('/img/security/access-key-preferences-page.png')} alt="Personal Access Keys page" style={{border: '1px solid gray'}} width="800"/><br/>The **Add New Access Key** window appears.<br/><img src={useBaseUrl('/img/security/create-access-key.png')} alt="Add New Access Key screen" style={{border: '1px solid gray'}} width="500"/>
26+
1. On the **Personal Access Keys** tab, click **+ Add Access Key**.<br/><img src={useBaseUrl('/img/security/access-key-preferences-page.png')} alt="Personal Access Keys tab" style={{border: '1px solid gray'}} width="800"/><br/>The **Add New Access Key** window appears.<br/><img src={useBaseUrl('/img/security/create-access-key.png')} alt="Add New Access Key screen" style={{border: '1px solid gray'}} width="500"/>
2627
1. **Name**. Enter a name for your access key.
2728
1. **Allowed CORS Domains (optional)**. Create an allowlist of domains from which the access key can be used to access Sumo Logic APIs. For more information, see [CORS support](#cors-support).
2829
:::note
@@ -41,15 +42,24 @@ In Sumo Logic, you'll need an access key to:
4142
After you click **Done**, you will not be able to recover this Access ID and Access Key.
4243
:::
4344

44-
All personal access keys created in the organization are displayed in the **Access Keys** page, described next.
45+
All personal access keys created in the organization are displayed in the **Access Keys** tab, described next.
4546

46-
### From the Access Keys page
47+
### From the Access Keys tab
4748

48-
Administrators can create access keys under **Access Keys** as an alternative to doing it [from the Personal Access Keys page](#from-the-personal-access-keys-page).
49+
Administrators can create access keys under **Access Keys** as an alternative to doing it [from the Personal Access Keys tab](#from-the-personal-access-keys-tab).
4950

5051
1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Administration > Security > Access Keys**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the top menu select **Administration**, and then under **Account Security Settings** select **Access Keys**. You can also click the **Go To...** menu at the top of the screen and select **Access Keys**.
51-
1. At the top right of the table, click **+ Add Access Key**. <br/><img src={useBaseUrl('/img/security/access-key-security-page.png')} alt="Sumo Logic interface showing a list of access keys with options to add a new access key, search access keys, and statuses of existing keys." width="700"/>
52-
1. Follow the steps in the [previous section](#from-the-personal-access-keys-page), starting with step 3.
52+
1. At the top right of the table, click **+ Add Access Key**. <br/><img src={useBaseUrl('/img/security/access-key-security-page.png')} alt="Sumo Logic interface showing a list of access keys with options to add a new access key, search access keys, and statuses of existing keys." style={{border: '1px solid gray'}} width="700"/>
53+
1. Follow the steps in [From the Personal Access Keys tab](#from-the-personal-access-keys-tab) section above, starting with step 3.
54+
55+
### From a Service Account
56+
57+
Administrators can create access keys on a [service account](/docs/manage/security/service-accounts) for use in scripts or automation.
58+
59+
1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Administration > Security > Service Accounts**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the top menu select **Administration**, and then under **Account Security Settings** select **Service Accounts**. You can also click the **Go To...** menu at the top of the screen and select **Service Accounts**.
60+
1. Select a service account.
61+
1. Click **Add Access Key**.<br/><img src={useBaseUrl('/img/security/service-account-details.png')} alt="Add Access Key button on service account details pane" style={{border: '1px solid gray'}} width="300"/>
62+
1. Follow the steps in [From the Personal Access Keys tab](#from-the-personal-access-keys-tab) section above, starting with step 3.
5363

5464
#### CORS support
5565

@@ -89,7 +99,7 @@ an Access-Control-Allow-Origin header.
8999
If you have the [**Manage Access Keys** role capability](/docs/manage/users-roles/roles/role-capabilities#security), you can edit, deactivate, and delete any access keys created by other users in your organization.
90100

91101
1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Administration > Security > Access Keys**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the top menu select **Administration**, and then under **Account Security Settings** select **Access Keys**. You can also click the **Go To...** menu at the top of the screen and select **Access Keys**.
92-
1. Hover your mouse over an access key and click the three-dot kebab icon. This reveals the same modification options that appear on the **Personal Access Key** page, [as described above](#edit-deactivate-or-delete-access-keys).
102+
1. Hover your mouse over an access key and click the three-dot kebab icon. This reveals the same modification options that appear on the **Personal Access Key** tab, [as described above](#edit-deactivate-or-delete-access-keys).
93103

94104
### Access Keys deactivation policy
95105

docs/manage/security/service-accounts.md

Lines changed: 41 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,56 @@ description: Service accounts allow you to create access keys that can be used i
66

77
import useBaseUrl from '@docusaurus/useBaseUrl';
88

9-
A service account allows you to create [access keys](/docs/manage/security/access-keys/) that can be used in scripts or automation. Because access keys in a service account are not tied to an individual user, they can continue to be used even if the person who created the service account leaves the organization. Service accounts are an ideal way to ensure continuity of operation for critical services.
9+
A service account allows you to create [access keys](/docs/manage/security/access-keys/) that can be used in scripts or automation. You can use a service account to create multiple access keys. Because access keys in a service account are not tied to an individual user, they can continue to be used even if the creator’s user account is deactivated or deleted. Service accounts are an ideal way to ensure continuity of operation for critical services.
1010

11-
You might want to use services accounts to provide access keys for:
12-
* Infrastructure as code (such as Terraform).
11+
You can use services accounts to provide authentication for operations such as:
12+
* Infrastructure as code (for example, Terraform).
1313
* SCIM user and role management from an identity provider.
1414
* Third party integrations.
1515

1616
## Prerequisites
1717

18-
You'll need the following [role capabilities](/docs/manage/users-roles/roles/role-capabilities#security):
19-
* **Create Access Keys** to create access keys on service accounts.
20-
* **Manage Access Keys** to deactivate, reactivate, or delete access keys on service accounts.
21-
22-
Only administrators can create service accounts. If you are unsure whether you are an administrator, you can view your role in **Preferences** (see [Onboarding Checklists](/docs/get-started/onboarding-checklists/)).
18+
* To work with service accounts, you'll need the following [role capabilities](/docs/manage/users-roles/roles/role-capabilities#security):
19+
* **Create Access Keys** to create access keys on service accounts.
20+
* **Manage Access Keys** to deactivate, reactivate, or delete access keys on service accounts.
21+
* Only administrators can create service accounts. If you are unsure whether you are an administrator, you can view your role in **Preferences** (see [Onboarding Checklists](/docs/get-started/onboarding-checklists/)).
22+
* Service accounts use the permissions of the roles they are assigned. A service account must have the role capabilities needed to execute the tasks its access keys are needed for.
2323

2424
## Create a service account
2525

2626
1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Administration > Security > Service Accounts**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the top menu select **Administration**, and then under **Account Security Settings** select **Service Accounts**. You can also click the **Go To...** menu at the top of the screen and select **Service Accounts**.
27-
1. At the top right of the table, click **+ Add Service Account**.
27+
1. On the **Service Accounts** tab, click **+ Add Service Account**.<br/><img src={useBaseUrl('/img/security/service-accounts-page.png')} alt="Service Accounts tab" style={{border: '1px solid gray'}} width="700"/>
28+
<br/>The **Add Service Account** window appears.<br/><img src={useBaseUrl('/img/security/add-service-account.png')} alt="Add Service Account window" style={{border: '1px solid gray'}} width="300"/>
29+
1. **Name**. Enter a name for your service account. Make it descriptive enough so that others will be able to tell what its purpose is.
30+
1. **Email**. Enter an email to associate with the service account. It should be an email monitored by an organization rather than an email for an individual, so that it is not dependent on use by a single person.
31+
1. **Roles**. Select the roles to assign to the service account. A service account must have the [role capabilities](/docs/manage/users-roles/roles/role-capabilities) needed to execute the tasks its access keys are needed for. For example, if an access key associated with a service account needs be able to manage monitors, not only does the access key need the scopes to manage monitors, but the service account itself also needs to have the role capabilities to manage monitors.
32+
:::tip
33+
Remember that the purpose of access key scopes is to limit authorization to only the permissions allowed by the scope. Therefore, you *may* also want to ensure that the roles assigned to the service account are also limited to only the authorization needed by the access keys on the service account.
34+
:::
35+
1. Click **Save**.
36+
37+
### Add an access key to a service account
38+
39+
1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Administration > Security > Service Accounts**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the top menu select **Administration**, and then under **Account Security Settings** select **Service Accounts**. You can also click the **Go To...** menu at the top of the screen and select **Service Accounts**.
40+
1. Select a service account.
41+
1. Click **Add Access Key**.<br/><img src={useBaseUrl('/img/security/service-account-details.png')} alt="Add Access Key button on service account details pane" style={{border: '1px solid gray'}} width="300"/>
42+
1. The **Add New Access Key** window appears. Follow the steps to add an access key as described in [Create an access key](/docs/manage/security/access-keys/#create-an-access-key).
43+
44+
:::note
45+
Any access keys you add on a service account appear on the [**Access Keys** tab](/docs/manage/security/access-keys/#from-the-access-keys-tab).
46+
:::
47+
48+
## Modify a service account
49+
50+
1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Administration > Security > Service Accounts**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the top menu select **Administration**, and then under **Account Security Settings** select **Service Accounts**. You can also click the **Go To...** menu at the top of the screen and select **Service Accounts**.
51+
1. Hover your mouse over a service account and click the three-dot kebab icon to reveal the modification options.<br/><img src={useBaseUrl('/img/security/modify-options-for-service-accounts.png')} alt="Edit a service account" style={{border: '1px solid gray'}} width="700"/>
52+
53+
:::warning
54+
When a service account is deactivated, the access keys on the service account are also deactivated. For more information about deactivation, see [Access Keys deactivation policy](/docs/manage/security/access-keys/#access-keys-deactivation-policy).
55+
:::
56+
57+
## Edit, deactivate, or delete an access key on a service account
2858

59+
If instead of modifying a service account itself you want to modify only the access keys on the service account, open the service account, hover your mouse over an access key, and click the three-dot kebab icon to reveal the modification options.
2960

30-
## Edit, deactivate, or delete a service account
61+
<img src={useBaseUrl('/img/security/edit-access-keys-on-service-account.png')} alt="Edit access keys on a service account" style={{border: '1px solid gray'}} width="300"/>

sidebars.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,6 +999,7 @@ module.exports = {
999999
'manage/security/2-step-verification-admins',
10001000
'manage/security/2-step-verification-users',
10011001
'manage/security/access-keys',
1002+
'manage/security/service-accounts',
10021003
{
10031004
type: 'category',
10041005
label: 'Audit Indexes',
@@ -1036,7 +1037,6 @@ module.exports = {
10361037
'manage/security/saml/view-saml-debug-information',
10371038
]
10381039
},
1039-
'manage/security/service-accounts',
10401040
'manage/security/set-password-policy',
10411041
'manage/security/set-limit-user-concurrent-sessions',
10421042
'manage/security/set-max-web-session-timeout',
63 KB
Loading
123 KB
Loading
120 KB
Loading
108 KB
Loading
96.3 KB
Loading

0 commit comments

Comments
 (0)