Knowledge Hub

Factora Academy

Knowledge Hub · Courses · FactoraERP · Technology · 12 min

Credentials and least privilege

Professional · Integrations and Data Exchange · Step 2: Security and reliability

Introduction

What this covers

How to give an integration its own service account with only the permissions that feed needs, and how to rotate that account without pasting secrets into email or chat.

Why it matters on the floor

A shared personal login used by an integration cannot be rotated, and it cannot be limited to the one module the feed touches.

By the end you can

  • 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

About 12 minutes. Prerequisites: Data mapping.

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

  1. In User Management, create a user whose name says what it does, such as 'Weighbridge feed'. It is not a person's login.
  2. Assign a role that can write Material Intake if that is the feed, and cannot open Payroll or change Roles.
  3. Hand the secret to the integration owner through the channel your administrator already uses for secrets. Do not put it in email or chat.
  4. Write the rotation date on the integration page of the scope note.
  5. When a person who once saw the secret leaves, rotate it. Do not wait for an incident.
  6. 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.

Create a free account or log in to save this lesson on your progress.