Skip to main content

Creating and managing service accounts for Sentries

This section walks you through the process of creating a service account for your Sentries.

Creating a service account

To create a service account:

  1. On the Organization profile page, go to the Settings tab.

  2. From the Service accounts section, click the Add service account button.

    create_service_account_UI_01.png
  3. In the Create a new service account window, set the following and click Create.

    • Service account name: This is the name with which the account gets created.

    • Token expiration: Set an expiration timef rame. Options available are 1 year, 1 month, 1 week, and Never. The generated token expires on the set time and will need to be regenerated again.

    create_service_account_UI.png
  4. Once the service account is created, you are prompted to note down the Service account token.

    Important

    You must note down this token and the expiration date before closing the window as this token cannot be retrieved after the window is closed.

    create_service_account_UI_02.png

Managing the service account

This is the account you will use for the Sentry APIs.

To manage the service account:

  1. Go to the organization for which you created the service account.

  2. In the Members tab, you will see the service account. Add this account to the Organization Admin group.

    create_service_account_UI_03.png

Refreshing access token

Warning

Caution should be used while refreshing the service accounts. Refreshing the token invalidates any usages of the existing token attached to this service account.

To refresh an access token:

  1. On the Organization profile page, go to the Settings tab.

  2. From the Service accounts section, locate the account you want to refresh.

  3. Open the Three dot menu and click the Refresh button.

    create_service_account_delete_UI.png

Deleting service accounts

Warning

Caution should be used while deleting service accounts. Deleting this service account will cause the Sentries to stop working.

To delete a service account:

  1. On the Organization profile page, go to the Settings tab.

  2. From the Service accounts section, locate the account you want to delete.

  3. Open the Three dot menu and click the Delete button.