Skip to content

Commit 96a6021

Browse files
author
Marco Jahn
committed
fixed reviewer requested changes
1 parent 62f81f7 commit 96a6021

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

apigw-secretsmanager-apikey-cdk/example-pattern.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
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",
33
"description": "Implement a secure API key-based authorization system using Amazon API Gateway, Lambda Authorizer, and AWS Secrets Manager.",
44

55
"language": "TypeScript",
66
"level": "200",
7-
"framework": "AWS CDK",
7+
"framework": "CDK",
88
"introBox": {
99
"headline": "How it works",
1010
"text": [
@@ -43,15 +43,15 @@
4343
},
4444
"testing": {
4545
"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>"
4949
]
5050
},
5151
"cleanup": {
5252
"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>"
5555
]
5656
},
5757
"authors": [

0 commit comments

Comments
 (0)