deshh / elasticache-iam-auth-implementation

Demo implementation of AWS Elasticache authentication via IAM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS Elasticache iam authentication sample implementation

This project intends to demo the AWS IAM based authentication on Elasticache standalone replication group.

Acknowledgements

API Reference

Insert advertiser configuration

POST /advertiser
Parameter Type Description
advertiserId string Required. Advertiser ID
advertiserName string Advertiser Name
landingPageUrl string Home page url

Get advertiser configuration

GET /advertiser/${id}
Parameter Type Description
id string Required. ID of the advertiser

Delete advertiser configuration

DELETE /advertiser/${id}
Parameter Type Description
id string Required. ID of the advertiser

Demo

alt-text

Environment Variables

To run this project, you will need to configure the AWS credentials. Since this implementation uses AWS DefaultCredentialsProviderChain, you can decide which ever credentials option you are confortable with. For simplicity we can set the following two values as Environment Variables to configure the AWS sdk authentication.

AWS_ACCESS_KEY_ID

AWS_SECRET_ACCESS_KEY

About

Demo implementation of AWS Elasticache authentication via IAM