You can create an IAM User programmatically using AWS SDKs (e.g., AWS SDK for Python, AWS SDK for Java). Below is an example using the AWS SDK for Python (Boto3):
Example Code:
import boto3
# Create IAM client
iam = boto3.client('iam')
# Create IAM user
response = iam.create_user(UserName='new_user')