Skip to content

Getting Started

Kenneth Myers edited this page Apr 12, 2023 · 4 revisions

Getting Started

Here are a list of steps to get you started on this project:

  1. Check that you have at least the requirements defined in the README. This includes installing AWS CLI v2 which is needed in coming steps. You can make substitutions to these but these were what I built my project with.
  2. Create an AWS account if you don't already have one.
  3. Create a permission set and user in IAM Identity center or IAM. I did both. I use the permissions and user I created in IAM Identity Center to log in on the command line (necessary for CLI operations and boto3 access) and enabled MFA for this. I use the IAM user to create access keys and secrets with scoped out permissions, such as reading and writing to S3 only. I don't believe I enabled MFA for this since this was for an application. See this page for more info direction on making credentials.
  4. See this page for configuring your aws profile locally, aws configure sso, fill in information.
  5. Login to your profile with the profile you just created, aws sso login --profile [my-profile-name], you'll be taken to a login page where you will have to login with the user you created in step 3, the password, and MFA if you set that up.

After this you should be able to connect from the command line and boto3 using whatever permissions you placed on the user.

Clone this wiki locally