-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Steps to add RDS Public Key in parameter store.
We want to add the Website-backend staging public key in parameter store. so we can use it to validate the Token received in request
Step1:
Visit select region us-east-1 as staging is hosted in that region
Step2:
Click on create parameter

Step3:
Add the name rdsbackendpublickeystaging (Please do not use publickey as in screenshots instead use rdsbackendpublickeystaging)

scroll down and the public key value and keep the option as in screenshot:

click on the create parameter
add permission of this public key to all the lambdas
Step 1: Visit IAM and click on policies and then click on create policy

Step2:
Select system manager and then select a get parameter permission from the list
Step3: select resource and select add resource

Step4: Click on next and on next page enter the name of the policy
Step5: Click on create policy
Attached this created policy to the lambda roles
Step1: Visit IAM and click on roles in the sidebar
Step2: Select the staging lambda role
Step3: then click on add permission and then attached policies in the dropdown

Step4: then select the policy we created above and click on add permissions
Repeat this steps for all the lambda roles