Skip to content

ekkards/moresecuritywithserverless

Repository files navigation

More Security with Serverless

Code for my talk "More Security with Serverless"

Client

get the code

git clone https://github.com/ekkards/moresecuritywithserverless
cd signin-at-client

and run authenticate.html

Client

run authenticate.html

Server

cd verify-at-server
npm install

Get AWS Cognito SDK

Get AWS Cognito SDK

curl https://raw.githubusercontent.com/aws/amazon-cognito-identity-js/master/dist/aws-cognito-sdk.min.js > signin-at-client/aws-cognito-sdk.min.js
curl https://raw.githubusercontent.com/aws/amazon-cognito-identity-js/master/dist/aws-cognito-sdk.min.js.map > signin-at-client/aws-cognito-sdk.min.js.map
curl https://raw.githubusercontent.com/aws/amazon-cognito-identity-js/master/dist/amazon-cognito-identity.min.js > signin-at-client/amazon-cognito-identity.min.js
curl https://raw.githubusercontent.com/aws/amazon-cognito-identity-js/master/dist/amazon-cognito-identity.min.js.map > signin-at-client/amazon-cognito-identity.min.js.map

Server

cd verify-at-server
npm install
npm start

Hacking Lambda

  • Install nvm
  • nvm install node 6.10.3
  • npm install -g node-lambda
  • cd hacking-lambda
  • node-lambda setup
  • install AWS CLI
  • install your AWS Keys

Edit the .env file for node-lambda, MUST NOT enter your access keys

node-lambda deploy

About

Code for "More Security with Serverless"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •