This article explains how to rotate the API key for a service account in the MSP Portal. Key rotation invalidates the existing key and generates a new one.Only users with the Rotate Service Account Secret permission can rotate secrets.
Rotating a key will immediately invalidate the existing key. Existing integrations using the old key will stop working until updated.
Rotate a Service Account Key#
This is the only time the secret will be visible! Please store it in a secure location. If you lose the secret, you will need to generate a new one and update all integrations that used the old one.
To generate a new authentication key and invalidate the existing one for a service account, follow the steps below:2
From the account context switcher, select the MSP Portal
3
From the Left Hand Navigation Menu, select Users
4
Select the Service Accounts tab.
5
(Optional) Under Node, select the node the user belongs under
6
Locate the service account you want to edit.
7
In the Actions column, click the ⋮ (Actions Menu).
A new API key is generated and displayed once.