If this dev had this much access and his work didn't do any sort of code review, I don't understand how their CSOC or ISO isn't on trial along with him.
This is terrible OpSec.
In order for me to create an IAM role, I have to have two different people to approve it, along with the access control team, along with a change review on what the role does and how it will authenticate.
Dev teams cannot access production. Prod teams cannot access code directly. Only machine roles can access databases directly.
We have so many checks and balances that it's amazing we get anything done.