How to install awspub

Setup profile configuration

Before using this tool, you need to setup the AWS configuration and credential files. Follow CLI configuration documentation to create these two files.

Example config file:

$ cat ~/.aws/config
[default]
region = us-east-1

Example credential file:

$ cat ~/.aws/credentials
[default]
aws_secret_access_key = <YOUR SECRET ACCESS KEY>
aws_access_key_id = <YOUR ACCESS KEY ID>

Install awspub using snap

awspub is available in the Snapstore, and it can be installed using:

snap install awspub

This will install the latest version in your machine. We would highly recommend you install the latest version, but refer to this Snapcraft channel doc for installing a different version or from a specific channel.

CLI usage

The command line interface called awspub accepts the standard AWS environment variables such as AWS_PROFILE.