How LogiPack moved all 15 production credentials into AWS Secrets Manager with Manthic
LogiPack, a logistics company in Lagos, took control of access, credentials and audit logging on AWS. All 15 production credentials now live in AWS Secrets Manager, every leaver's access is revoked, and access to delivery files is logged for the period its contracts require.
The problem.
LogiPack is a logistics company in Lagos, Nigeria. It assigns drivers to deliveries and gives the businesses that ship with it live delivery status. Manthic, an Amazon Web Services (AWS) Partner, helped LogiPack take control of access, credentials and audit logging on AWS.
LogiPack handles shipper and location data under contracts with its customers. A legal review found that it needed audit logging and a clear retention policy for that data, and it had neither in place.
Access was also hard to keep under control. LogiPack had no formal tracking to confirm that people who left lost their AWS access. Its 15 production credentials were spread across application configuration files and environment variables, so anyone with access to the code or the servers could see them.
That put LogiPack's contracts at stake. If a former employee kept access, or a credential leaked from a configuration file, LogiPack could not show who had touched delivery data or remove that access quickly.
What we built.
Credentials out of files
We moved every production credential into AWS Secrets Manager. First we found each one and every service that used it, then moved all 15, so the running services now fetch credentials from AWS Secrets Manager when they start. We chose AWS Secrets Manager over keeping credentials in environment variables because nothing sensitive sits in code, files or settings any more, and every retrieval is logged.
Narrow roles, checked before release
Next we tightened permissions. Using AWS Identity and Access Management (AWS IAM), each stage of the release pipeline and each running service has its own role, limited to the resources it needs. We check every role with AWS Identity and Access Management Access Analyzer (AWS IAM Access Analyzer) before release, which shows any access that is broader than needed or unused. We chose separate, narrow roles over one shared deployment role so that a mistake in one place cannot reach everything.
Audit that meets the contracts
For audit, AWS CloudTrail records management events across the account and data events on the Amazon Simple Storage Service (Amazon S3) bucket that holds delivery assets, so every read and write of those files is logged. Log retention matches what the legal review required. We chose to record data events, not just management events, because LogiPack needs to show who opened which files, not only who changed settings.
A secure platform
The service runs on Amazon Elastic Container Service (Amazon ECS) with AWS Fargate behind a load balancer that only accepts HTTPS. Container images are scanned in Amazon Elastic Container Registry (Amazon ECR) before they are used, and Amazon CloudWatch alarms tell the team when something goes wrong. All of it is defined in AWS CloudFormation and changed through reviewed code.
Training and access reviews
We trained LogiPack's operations engineers on least privilege and on reading AWS CloudTrail, and set up quarterly access reviews that compare who has access with who should.
AWS services in this engagement
The results.
No lingering access for leavers. 100% of departed employees' AWS access has been revoked, checked by comparing HR offboarding records with AWS IAM access assignments. Before the project, this was not tracked.
No credentials in files. All 15 production credentials are now in AWS Secrets Manager, none left in configuration files or environment variables, confirmed by reviewing application configuration and the AWS Secrets Manager inventory.
Every role checked before release. Each pipeline and service role is validated with AWS IAM Access Analyzer before it goes live.
Audit records that meet the contracts. Access to delivery files is logged and kept for the period the legal review set.
What we learned.
Credentials were the slowest part of the project, because before we could move them we had to find all of them and every service that depended on each one. It is far easier to stop credential sprawl than to clean it up. We now run a credential inventory at the start of every engagement, and our code reviews and pipeline checks reject credentials in configuration files or environment variables.
About Manthic.
Manthic Technologies is an AWS Advanced Tier Services Partner based in Lagos, Nigeria. We design, build and run solutions on AWS for our clients.
Tell us what you're trying to ship.
A 30-minute scoping call with the engineers who would do the work.