Coder Social home page Coder Social logo

crftr / amazon-cloudfront-signed-urls-using-lambda-secretsmanager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aws-samples/amazon-cloudfront-signed-urls-using-lambda-secretsmanager

0.0 0.0 0.0 31 KB

In this example we will provide step-by-step instructions to create Amazon CloudFront Signed URLs with both canned and custom policies using: AWS Lambda as the execution tool; AWS Secrets Manager to manage the private signing key for security best practices; Amazon S3 as a restricted content source.

License: Other

HTML 10.54% JavaScript 89.46%

amazon-cloudfront-signed-urls-using-lambda-secretsmanager's Introduction

Amazon CloudFront Signed URLs using Lambda and Secrets Manager

Important Update: Amazon CloudFront announces support for public key management through IAM user permissions for signed URLs and signed cookies

In this example we provide step-by-step instructions to create Amazon CloudFront Signed URLs with both canned and custom policies using:

  • AWS Lambda as the execution tool
  • AWS Secrets Manager to manage the private signing key for security best practices
  • Amazon S3 as a restricted content source

Detailed information about:

What you will need:

  • An AWS account with an IAM user
  • Working knowledge of Amazon IAM, S3, CloudFront, Secrets Managers, and Lambda
  • Working knowledge of Node.js

Please start with Step 1 to begin the exercise.
Step 1: Create Amazon S3 Bucket
Step 2: Create Amazon CloudFront Distribution
Step 3: Create Amazon CloudFront Key Groups
Step 4: Create AWS Secrets Manager
Step 5: Create AWS CloudFront SignedURL with Canned Policy
Step 6: Create AWS CloudFront SignedURL with Custom Policy

amazon-cloudfront-signed-urls-using-lambda-secretsmanager's People

Contributors

amazon-auto avatar leschan avatar weisisheng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.