---
title: "Victor Okoroafor (@okoroaforvic) | Hashnode"
description: "Code that works isn't the same as code that's safe. I build the difference into the pipeline. Read the latest articles by Victor Okoroafor on Hashnode."
url: "https://hashnode.com/@okoroaforvic"
---

@okoroaforvic

# Victor Okoroafor

@okoroaforvic · Remote · Joined July 2026

Code that works isn't the same as code that's safe. I build the difference into the pipeline.

### [Encrypted Is Not Authenticated: What PostgreSQL sslmode Really Checks](https://victorokoroafor.hashnode.dev/encrypted-is-not-authenticated-what-postgresql-sslmode-really-checks?utm_source=hashnode&utm_medium=feed)

Why transport encryption alone won’t protect you from a rogue server, and the one sslmode that does, tested in a reproducible Docker lab.

17 min read · [victorokoroafor.hashnode.dev](https://victorokoroafor.hashnode.dev/encrypted-is-not-authenticated-what-postgresql-sslmode-really-checks?utm_source=hashnode&utm_medium=feed)

[Nov 6](https://hashnode.com/posts/encrypted-is-not-authenticated-what-postgresql-sslmode-really-checks/6aedb45ea8148396614c8c28)

### [My Policy-as-Code Check Passed. It Never Read the Policy.](https://victorokoroafor.hashnode.dev/my-policy-as-code-check-passed-it-never-read-the-policy?utm_source=hashnode&utm_medium=feed)

In my last post, I showed how OPA and Conftest block over-privileged IAM roles before anything gets deployed. I ended with a warning: there's a case where the check passes when it shouldn't. This is t

6 min read · [victorokoroafor.hashnode.dev](https://victorokoroafor.hashnode.dev/my-policy-as-code-check-passed-it-never-read-the-policy?utm_source=hashnode&utm_medium=feed)

[Oct 19](https://hashnode.com/posts/my-policy-as-code-check-passed-it-never-read-the-policy/6ad6331c05021c07d6ffdb4e)

### [I Built an Offline AWS Auditor. It Caught My Mistakes, Then Made Its Own.](https://victorokoroafor.hashnode.dev/i-built-an-offline-aws-auditor-it-caught-my-mistakes-then-made-its-own?utm_source=hashnode&utm_medium=feed)

Originally published on DEV as a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle. My first user (it was me) My final-year project was a serverless fintech backend on AWS:

12 min read · [victorokoroafor.hashnode.dev](https://victorokoroafor.hashnode.dev/i-built-an-offline-aws-auditor-it-caught-my-mistakes-then-made-its-own?utm_source=hashnode&utm_medium=feed)

[Oct 19](https://hashnode.com/posts/i-built-an-offline-aws-auditor-it-caught-my-mistakes-then-made-its-own/6ad5fb2e9783517d5358b12d)

### [How to Block Over-Privileged IAM Roles in AWS Using Policy-as-Code](https://victorokoroafor.hashnode.dev/how-to-block-over-privileged-iam-roles-in-aws-using-policy-as-code?utm_source=hashnode&utm_medium=feed)

Chances are, your AWS account has an over-privileged IAM role right now, and you may not know which one. When you build infrastructure, you write Terraform that declares your resources and assigns IAM

5 min read · [victorokoroafor.hashnode.dev](https://victorokoroafor.hashnode.dev/how-to-block-over-privileged-iam-roles-in-aws-using-policy-as-code?utm_source=hashnode&utm_medium=feed)

[Oct 9](https://hashnode.com/posts/how-to-block-over-privileged-iam-roles-in-aws-using-policy-as-code/6ac8cb601aa52d06d71bb168)
