Here’s how to add an AWS user using the CLI.

<pre lang="bash">
aws iam create-user --user-name john.doe \
--tags Key='Name',Value='John Doe' Key='Role',Value='Admin'

Create an access key for the user.

<pre lang="bash">
aws iam create-access-key --user-name john.doe