This project intends to demo the AWS IAM based authentication on Elasticache standalone replication group.
- Simplify managing access to Amazon ElastiCache - AWS Blog
- Role-Based Access Control (RBAC) - AWS documentation
- Elasticache iam auth demo app - AWS samples
POST /advertiser
Parameter | Type | Description |
---|---|---|
advertiserId |
string |
Required. Advertiser ID |
advertiserName |
string |
Advertiser Name |
landingPageUrl |
string |
Home page url |
GET /advertiser/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of the advertiser |
DELETE /advertiser/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of the advertiser |
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