Creating AWS access keys
To create AWS access key for Bref and the
serverless CLI tool follow these steps:
In the AWS dashboard, go into IAM and create a new user: click here for a direct link.
Set a user name (for example "bref-cli"), enable Programmatic access and move to the next screen.
Click Attach existing policies directly, search for AdministratorAccess and select it.
WARNING: the "AdministratorAccess" policy grants full access to your AWS account. This is simpler when starting with AWS and deploying for the first time. However it is highly recommended to restrict permissions further.
The Serverless documentation has an example of a configuration with stricter permissions: read this article to create a more secure policy.
Finish creating the user and note the AWS access keys that are generated.