Every character here is made up, as is the product: a small company that publishes hands-on gadget evaluations and keeps a test-bench of devices, a reader-comment system and a handful of publishing scripts in the cloud. Nothing here is a real record. It is an illustration of how IAMOps thinking plays out when a modest engineering group decides to look properly at who and what can do what inside its accounts.
The Monday that started it
The trigger was mundane. A contractor who had finished a benchmark project months earlier still showed up in a cost report, because a script running under their old credentials kept spinning up test instances. Nobody had abused anything. But the lead engineer asked a precise question: if that script’s key leaked tomorrow, what could an outsider do with it?
The answer, once they read the policy attached to it, was almost everything in the production account. The script had been given a broad role “just to get the demo working,” and the demo had long since shipped.
Borrowing a vocabulary
While looking for a framework, the team found the Ops Atlas page on IAMOps. It describes the term as informal and uses it for authorisation as code. That wording clicked: they already kept their site templates and build jobs in a repository, so why were their permissions living only in a web console?
They set themselves three rules for the quarter. First, no new long-lived keys. Second, every policy change goes through a pull request. Third, they would measure before and after, so the result would not rest on feelings.
Weeks one to four: inventory and owners
They exported every role, user and service credential into a sheet and gave each a named owner. Eleven entries had no plausible owner at all. Taking a cue from the Atlas’s first-month list, they also turned on the cloud provider’s analysis of external access, a feature the Atlas lists as free, and found one storage bucket readable from outside the organisation. It held old review photographs rather than anything sensitive, but it was fixed the same afternoon.
One decision was deliberate: they federated the publishing pipeline first. Rather than storing a secret key in the build system, the job now proves its identity with a short-lived token for each run. The Atlas notes that a 2023 incident at a continuous-integration provider, in which attackers took customer environment variables and tokens, led the company to advise token-based federation over stored secrets. Our team did not need a lecture; the contractor’s script had already made the case.
Weeks five to eight: policy in a repository
Roles became files. Each change now required a reviewer and passed an automated check. A custom check from the provider cost fractions of a cent per call, and the team calculated that a quarter’s worth of pull requests would cost them a few dollars. They also adopted one small boundary: engineers could create roles for their own services, but only within a ceiling that capped what any such role could do.
Early on, the team hit one of the traps the Atlas describes. They had written a guardrail condition with a negated test, saying a request must not come from outside the corporate network. A background job calling through an internal tool carried no network information at all, so the rule matched when it was supposed to block. They fixed it by checking that the field exists before comparing it, and added a test for the missing-field case.
Weeks nine to twelve: removing what nobody used
With activity records in hand, they compared each role’s permissions against what it actually did. The test-bench role had been granted 180 possible actions and used 27, which is 15%. The team trimmed in stages instead of all at once, because the Atlas cautions that infrequent jobs, such as a quarterly archive run, can look unused in a short window. They asked each owner about periodic tasks before removing anything.
- Roles reviewed: 120, with the typical utilisation rising from 22% to 41%.
- Access keys older than 90 days: cut from 85 to 45.
- Wildcard allow statements: down from 168 of 1,400 (12%) to a much smaller share they now report monthly.
- Request-to-grant time: up from 36 to 48 hours, a trade the team accepted.
These figures echo the worked example in the Atlas rather than real data from any company, and a real team’s numbers would of course differ. What matters is that they had numbers.
The mid-quarter objection
Around week six a senior editor complained that a deploy had been refused because of a missing permission, and that the new process was slowing the newsroom. The engineers did not wave the concern away. They pulled the denial from the logs, traced it to a role that had lost an action it quietly relied on, and restored that single action with a note explaining why. Then they added the case to a counter the Atlas recommends: denied requests per hundred changes after a release. A rising count is a signal to refine the policy, not a reason to give up on tightening.
That conversation changed the mood. Colleagues stopped seeing the work as a restriction and started seeing it as a service, with a feedback route and a person who answered.
Where the team landed on the Atlas’s ladder
Using the five-step maturity scale in the Atlas, the group placed itself at the second level, guarded, by the end of the quarter, because no fresh long-lived keys were being created. Level three, where most policy changes go through the pipeline, was within reach, and level four would depend on whether the monthly review actually kept happening.
What they would do differently
They would start the review rhythm sooner. Their first monthly meeting only happened in week twelve, and a few exceptions had sat in a chat thread rather than in a register. They also wished they had written down why each ceiling existed. Six months later nobody remembers the reasoning, and every old rule looks arbitrary.
Lessons for review teams and readers
The parallel to evaluating products is close. A reviewer who looks only at a headline spec misses what a device does under real use, and an engineer who looks only at granted permissions misses what actually gets exercised. If you are interested in how trustworthy evaluations are built, our piece on spotting trustworthy, unbiased product write-ups approaches the same problem from the reader’s chair, and our look at how motorcycle hire works across China shows how checklists keep a complicated service honest.
The invented team ended its quarter with fewer keys, smaller roles and a documented routine. None of the individual steps was exotic. The change was treating permissions as work that is designed, reviewed and measured, not something granted once and forgotten.