Skip to content
All case studies
SecurityHR and payroll software

How an HR and payroll software company protected employee data with AWS KMS

An HR and payroll software company in Abuja moved payroll processing to AWS and used the move to lock down employee data. 100% of production access now matches an approved identity, up from 60%, and 100% of sensitive data is encrypted with AWS KMS, up from 0%.

ClientHR and payroll software company, Abuja
DurationLive in production
RegionAWS
CategorySecurity
Employee data protectionHR and payroll software
100%Production access matching an approved identity, up from 60%
100%Production databases and HR document storage encrypted with AWS KMS, up from 0%
PrivatePayroll functions reach AWS services only through VPC endpoints
QuarterlyIAM access reviews, run by the company's own engineers
THE PROBLEM

The problem.

Our client is an HR and payroll software company in Abuja. Businesses use its platform to manage their staff, leave and appraisals, and to run payroll with the required statutory deductions.

The company holds personal and salary data for its clients' employees, which is covered by the Nigeria Data Protection Act 2023. It was moving its payroll processing to AWS from a platform-as-a-service provider and wanted the move to strengthen how that data was protected.

Two gaps stood out. Only 60% of production access matched an approved identity, measured against the company's approved access register. And none of the production databases or designated HR document storage was encrypted with keys the company controlled.

If the wrong person could reach payroll data, or that data was stored without encryption, the company would face regulatory risk and lose the trust of the businesses whose staff records it holds.

THE APPROACH

What we built.

01

Access first

We began with access. We compared every production permission against the company's approved access register, removed what was not justified, and re-granted access through approved identities. Production access now runs through AWS Identity and Access Management (IAM) roles that each allow only what they need.

02

Managed sign-in with Amazon Cognito

Users sign up and sign in through Amazon Cognito, which also controls what each user can do in the application. We chose Cognito over building sign-in into the application because it is a managed identity service that is easier to secure and audit.

03

Encryption with keys the company controls

HR documents are stored in Amazon S3 and encrypted with a dedicated key in AWS Key Management Service (KMS) that rotates automatically. The database, Amazon Aurora PostgreSQL, is also encrypted with KMS and only accepts encrypted connections. We chose a dedicated, controllable key over default encryption because data protection law favours keys whose use can be restricted and audited.

04

Private payroll processing

The payroll functions run on AWS Lambda in private subnets with no route to the internet. They reach AWS Secrets Manager and Amazon S3 through private VPC endpoints, so sensitive traffic never crosses the public internet. Database credentials come from Secrets Manager, not from code.

05

Protected at the edge

Amazon CloudFront serves the web application with AWS WAF rules in front of it. The web files sit in a private S3 bucket that only CloudFront can read. Amazon CloudWatch alarms watch for errors, throttling and database load. Everything is defined in AWS CloudFormation. We trained the company's engineers on handling sensitive HR data and on secure authentication, and set up quarterly IAM reviews that they now run.

STACK

AWS services in this engagement

AWS KMSAmazon CognitoAWS IAMAWS Secrets ManagerAWS WAFAmazon CloudFrontAmazon S3AWS LambdaAmazon Aurora PostgreSQLAmazon VPCAmazon CloudWatchAWS CloudFormation
THE OUTCOME

The results.

Production access limited to approved people. 100% of production access now matches an approved identity, up from 60%, measured by comparing IAM permissions with the approved access register.

Sensitive data encrypted. 100% of production databases and designated HR document storage is encrypted with KMS, up from 0%, confirmed from the encryption settings and KMS key associations.

Private traffic for payroll processing: payroll functions reach AWS services only through private endpoints. Access is checked every quarter by the company's own engineers.

What we learned: the access clean-up had to come first. With 40% of production access not matching the approved register, we could not lock down the new environment until every permission was either justified or removed, without cutting off people who needed it. We now reconcile access against the client's approved register at the start of every engagement, before migration work begins.

WANT SOMETHING SIMILAR?

Tell us what you're trying to ship.

A 30-minute scoping call with the engineers who would do the work.