In this lab, you will create a user account on Amazon DocumentDB. After completing this lab, you will have hands-on experience with creating users and granting them access on Amazon DocumentDB.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Connect to the Cluster
Connect to the DocumentDB cluster using the
mongosh
shell.- Create a Role
Create a role that grants
find
on all collections in theQA
database.- Create a User
Create a new user account, and grant it the newly created role.