Professional · Integrations and Data Exchange Module: Step 2: Security and reliability
Keep connections safe and recoverable.
Credentials
Never share credentials in email or chat. Use dedicated service accounts with only the permissions the integration needs, and rotate them.
Learning objectives
- Create a dedicated service account for the integration
- Grant only the modules that account must read or write
- Rotate the account and keep the secret out of email and chat
Walk the screen
- In User Management, create a user whose name says what it does, such as 'Weighbridge feed'. It is not a person's login.
- Assign a role that can write Material Intake if that is the feed, and cannot open Payroll or change Roles.
- Hand the secret to the integration owner through the channel your administrator already uses for secrets. Do not put it in email or chat.
- Write the rotation date on the integration page of the scope note.
- When a person who once saw the secret leaves, rotate it. Do not wait for an incident.
- If the feed fails after rotation, check the role first. Do not temporarily make the account an administrator to 'see if that fixes it'.
Worked example
The weighbridge feed account can log an intake and cannot approve payroll. The secret is stored by the integration owner. When the contractor who installed the feed finishes, the administrator rotates the account the same day and the feed is tested with one demo truck.
Common mistakes
- Re-using a director's login for the feed.
- Pasting the secret into the project chat.
- Widening the role to every module because one call returned an error.
Recap
- Integrations get their own account, not a person's.
- Least privilege means only the modules the feed needs.
- Rotate, and never send the secret in email or chat.
