WARNING: Do not blindly create IAM resources with AI

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
βοΈ Security Automation (Pre-AI). The Code.
βοΈ AI Automation. The Code.
π Related Stories: Cybersecurity | Penetration Tests
π» Free Content on Jobs in Cybersecurity | βοΈ Sign up for the Email List
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TLDR;
A lot when sideways creating this script. Although I find AI is generally helping me write code faster β you have to know what itβs doing, test it, and check it for unwanted additions or subtractions.
Do not blindly create IAM resources with AI.
Run this script to create:
- A User
- A secret with a randomly generated password that only the user and the person deploying the script can see that is encrypted with the specified KMS key.
cd ~
rm -rf ai-cfn
git clone https://github.com/2ndSightLab/ai-cfn.git
cd ai-cfn/iam-user
chmod 700 run.sh
./run.sh
run.sh