Documentation
Aws Keys

Creating AWS access keys

To create AWS access key for Bref and the serverless CLI tool follow these steps:

  1. In the AWS dashboard, go into IAM and create a new user: click here for a direct link (opens in a new tab).

  2. Set a user name (for example "bref-cli") and move to the next screen.

  3. Click Attach policies directly, search for AdministratorAccess and select it.

    ⚠️

    The "AdministratorAccess" policy grants full access to your AWS account. This is simpler when starting with AWS and Bref. However, it is recommended to restrict permissions further eventually. Here is an example of an IAM policy with stricter permissions.

  4. Finish creating the user.

  5. Once your user is created, select it and go to Security credentials.

  6. Scroll down to Access Keys and click on Create access key.

  7. Then select Command Line Interface.

  8. Add a description to your access keys and click on Create access key.

< Back to the installation guide