First start by creating an AWS user via IAM for programmatical access, which will give you a public and private key.
$ aws configure AWS Access Key ID [None]: publickey AWS Secret Access Key [None]: privatekey Default region name [None]: us-east-1 Default output format [None]: text
Default output format is JSON – you can choose text, json or table.