To create programmatic Access Keys for an AWS IAM User using AWS CLI, run the command aws iam create-access-key
.
On the command below change MyUser
with the username of your target IAM User.
aws iam create-access-key --user-name MyUser
This will return the following JSON formatted string.
Continue reading How to create IAM User Access Keys via AWS CLI