Adding a new user is currently a manual process but something that can definitely be automated.
- Open the users DynamoDB table and click
Create Item
. - The
username
field should be empty since it is specified as the hashkey, so fill it with the users email address - Add the field
name
with the full name of the user. - Run the
scripts/passwordGenerator.js
script in theservo-gateway
repository. Note the un-hashed password. - Add the field
password
with the hashed password generated in the previous step. - Open the permissions table in DynamoDB and click
Create Item
. - The
username
andcontext
field already exist and be empty. - Fill
username
with the email address of the user. - Fill
context
with the organization you would like to give the user access to. - Add the field
userrole
with the valueuser
,member
, orowner
. - Email the user with their un-hashed password from step 4.