Use AWS IAM to Create a User with Permission for DynamoDB

Lee Robinson
InstructorLee Robinson
Share this video with your friends

Social Share Links

Send Tweet
Published 4 years ago
Updated 4 years ago

You can use the Amazon Web Services (AWS) command-line interface (CLI) and the Cloud Development Kit (CDK) CLI to create and configure a user with access permissions for DynamoDB with IAM.

Amazon DynamoDB is a key-value and document database that delivers single-digit millisecond performance at any scale.

Instructor: [0:00] First, sign in to the AWS console using your Root user. Then, you can either search or navigate to IAM to manage your user accounts and resources. Next, click on Users, and click Add user. You can name this user whatever you want, but let's call this one DynamoDB.

[0:30] Then, we're going to select Programmatic access, which will give us an access key and a secret. Let's click on Next permissions, and we can either create a user group if we want to reuse this across users, or we can attach existing policies directly to this user. Let's do that.

[0:50] Search for Dynamo. We'll want DynamoDB full access giving this user the correct permissions to invoke commands. Then, we also need CloudFormation full access to allow the AWS CDK to scaffold our infrastructure.

[1:10] With these two policies selected, we can hit next. Feel free to add tags if you would like. These are optional that will allow you to organize your users. Then finally, review the new user that we want to add and the two policies that we've selected.

[1:27] Finally, create our user, and save the access key ID, as well as clicking Show and saving your secret access key, so that we can configure the CLI to communicate with AWS.

egghead
egghead
~ just now

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today