-
Notifications
You must be signed in to change notification settings - Fork 228
DOCS-325 - Service accounts #5041
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
a70c636
Start rough draft
jpipkin1 a6fcbe8
Rough draft
jpipkin1 b09b81e
Update docs/manage/security/service-accounts.md
jpipkin1 ff715fc
Updates from review by Kevin Keech
jpipkin1 4fe3f23
Update audit logging section
jpipkin1 804ae62
Upates from Slack comments
jpipkin1 5a17959
Add CID
jpipkin1 d570583
Merge branch 'main' into docs-325-service-accounts
jpipkin1 551c75f
Change release note date to April 15 2025
jpipkin1 8e96d0e
Change release note date to April 25 2025
jpipkin1 4d818b1
Add API doc
jpipkin1 e6b6599
Change release note date to May 1 2025
jpipkin1 a124f09
Merge branch 'main' into docs-325-service-accounts
jpipkin1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| --- | ||
| title: Service Accounts (Manage) | ||
| image: https://help.sumologic.com/img/sumo-square.png | ||
| keywords: | ||
| - manage | ||
| - access keys | ||
| - service accounts | ||
| hide_table_of_contents: true | ||
| --- | ||
|
|
||
| import useBaseUrl from '@docusaurus/useBaseUrl'; | ||
|
|
||
| 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. | ||
|
|
||
| You can use services accounts to provide authentication for operations such as: | ||
| * Infrastructure as code (for example, Terraform). | ||
| * SCIM user and role management from an identity provider. | ||
| * Third party integrations. | ||
|
|
||
| [Learn more](/docs/manage/security/service-accounts). | ||
|
|
||
| <img src={useBaseUrl('/img/security/service-accounts-page.png')} alt="Service Accounts tab" style={{border: '1px solid gray'}} width="800"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| --- | ||
| id: service-accounts | ||
| title: Service Accounts | ||
| description: Service accounts allow you to create access keys that can be used in scripts or automation. | ||
| --- | ||
|
|
||
| import useBaseUrl from '@docusaurus/useBaseUrl'; | ||
|
|
||
| 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. | ||
|
|
||
| You can use services accounts to provide authentication for operations such as: | ||
| * Infrastructure as code (for example, Terraform). | ||
| * SCIM user and role management from an identity provider. | ||
| * Third party integrations. | ||
|
|
||
| ## Prerequisites | ||
|
|
||
| * To work with service accounts, you'll need the following [role capabilities](/docs/manage/users-roles/roles/role-capabilities#security): | ||
| * **Create Access Keys** to create access keys on service accounts. | ||
| * **Manage Access Keys** to deactivate, reactivate, or delete access keys on service accounts. | ||
| * 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/)). | ||
| * 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. | ||
|
|
||
| ## Create a service account | ||
|
|
||
| 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**. | ||
| 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"/> | ||
| <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"/> | ||
| 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. | ||
| 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. | ||
| 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. | ||
| :::tip | ||
| 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. | ||
| ::: | ||
| 1. Click **Save**. | ||
|
|
||
| ### Add an access key to a service account | ||
|
|
||
| 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**. | ||
| 1. Select a service account. | ||
| 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"/> | ||
| 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). | ||
|
|
||
| :::note | ||
| 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). | ||
| ::: | ||
|
|
||
| ## Modify a service account | ||
|
|
||
| 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**. | ||
| 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"/> | ||
|
|
||
| :::warning | ||
| 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). | ||
| ::: | ||
|
|
||
| ## Edit, deactivate, or delete an access key on a service account | ||
|
|
||
| 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. | ||
|
|
||
| <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"/> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.