Book Image

Mastering DynamoDB

By : Tanmay Deshpande
Book Image

Mastering DynamoDB

By: Tanmay Deshpande

Overview of this book

Table of Contents (18 chapters)
Mastering DynamoDB
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
8
Useful Libraries and Tools
Index

Using IAM to provide access control to DynamoDB


Some of you might be aware of the concept called access control on resources. This is a very familiar concept in relational databases where we can have multiple users accessing the same database but different roles. This is very crucial from the application's security point of view. A user should have privileges and access to only the required resources in order to avoid misuse. In order to implement the concept on Cloud, AWS supports Identity and Access Management (IAM) as a service. This service allows us to perform the following:

  • Create multiple AWS accounts that access the same resources with different privileges

  • Create group users with similar privileges for the same level of accesses

  • Create separate user credentials for each user and maintain privacy

  • Provide fine-grained control on shared resources

  • Get a collective bill for all the users under one account

We can use IAM to control DynamoDB resources and API accesses to users. To do so, you...