|
1 | 1 | { |
2 | | - "title": "API Gateway with Lambda Authorizer and Secrets Manager for API Key Authentication", |
| 2 | + "title": "API Gateway, Lambda Authorizer & Secrets Manager for API Key Authentication", |
3 | 3 | "description": "Implement a secure API key-based authorization system using Amazon API Gateway, Lambda Authorizer, and AWS Secrets Manager.", |
4 | 4 |
|
5 | 5 | "language": "TypeScript", |
6 | 6 | "level": "200", |
7 | | - "framework": "AWS CDK", |
| 7 | + "framework": "CDK", |
8 | 8 | "introBox": { |
9 | 9 | "headline": "How it works", |
10 | 10 | "text": [ |
|
43 | 43 | }, |
44 | 44 | "testing": { |
45 | 45 | "text": [ |
46 | | - "Create an API key using the provided script: './create_api_key.sh sample-tenant'", |
47 | | - "Make a request to the protected endpoint using the valid API key: 'curl -H \"x-api-key: CREATED_API_KEY\" https://REPLACE_WITH_CREATED_API_URL.amazonaws.com/prod/protected'", |
48 | | - "If successful, you should receive a response: { \"message\": \"Access granted\" }" |
| 46 | + "Create an API key using the provided script: <code>./create_api_key.sh sample-tenant</code>", |
| 47 | + "Make a request to the protected endpoint using the valid API key: <code>curl -H \"x-api-key: CREATED_API_KEY\" https://REPLACE_WITH_CREATED_API_URL.amazonaws.com/prod/protected</code>", |
| 48 | + "If successful, you should receive a response: <code>{ \"message\": \"Access granted\" }</code>" |
49 | 49 | ] |
50 | 50 | }, |
51 | 51 | "cleanup": { |
52 | 52 | "text": [ |
53 | | - "Delete the CDK stack: 'cdk destroy'", |
54 | | - "Delete created SecretManager keys using the provided script: './remove_secrets.sh'" |
| 53 | + "Delete the CDK stack: <code>cdk destroy</code>", |
| 54 | + "Delete created SecretManager keys using the provided script: <code>./remove_secrets.sh</code>" |
55 | 55 | ] |
56 | 56 | }, |
57 | 57 | "authors": [ |
|
0 commit comments