I would like to confirm if it is possible to create AWS IAM users programmatically using an Access Key and Secret Key through either curl or Python. Specifically, I am interested in understanding the process.
Thanks Sameer
I would like to confirm if it is possible to create AWS IAM users programmatically using an Access Key and Secret Key through either curl or Python. Specifically, I am interested in understanding the process.
Thanks Sameer
Are you aware AWS has an example Github repository that contains thousands of examples in all the supported programming langauges, including this one that uses the AWS SDK for Python and IAM service.
See this URL in AWS Github that shows how to use AWS SDK for Python (Boto3) to create an IAM user:
https://github.com/awsdocs/aws-doc-sdk-examples/blob/main/python/example_code/iam/scenario_create_user_assume_role.py