From 5e6da3b3b72e310484dca16239509c7dd5e38d00 Mon Sep 17 00:00:00 2001 From: Michael Heap Date: Tue, 23 Aug 2022 11:02:13 +0100 Subject: [PATCH] Switch AWS Secrets Manager examples to use curl --- .../security/secrets-management/backends/aws-sm.md | 4 ++-- .../kong-enterprise/secrets-management/backends/aws-sm.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/gateway/2.8.x/plan-and-deploy/security/secrets-management/backends/aws-sm.md b/app/gateway/2.8.x/plan-and-deploy/security/secrets-management/backends/aws-sm.md index 7a60ccf8d08e..5b6291d9723c 100644 --- a/app/gateway/2.8.x/plan-and-deploy/security/secrets-management/backends/aws-sm.md +++ b/app/gateway/2.8.x/plan-and-deploy/security/secrets-management/backends/aws-sm.md @@ -96,8 +96,8 @@ environment variable. You can create multiple entities, which lets you have secrets in different regions: ```bash -http -f PUT :8001/vaults/aws-eu-central-vault name=aws config.region="eu-central-1" -http -f PUT :8001/vaults/aws-us-west-vault name=aws config.region="us-west-1" +curl -X PUT http://HOSTNAME:8001/vaults/aws-eu-central-vault -d name=aws -d config.region="eu-central-1" +curl -X PUT http://HOSTNAME:8001/vaults/aws-us-west-vault -d name=aws -d config.region="us-west-1" ``` This lets you source secrets from different regions: diff --git a/src/gateway/kong-enterprise/secrets-management/backends/aws-sm.md b/src/gateway/kong-enterprise/secrets-management/backends/aws-sm.md index 0b17eb928753..d16440a25a9b 100644 --- a/src/gateway/kong-enterprise/secrets-management/backends/aws-sm.md +++ b/src/gateway/kong-enterprise/secrets-management/backends/aws-sm.md @@ -90,8 +90,8 @@ environment variable. You can create multiple entities, which lets you have secrets in different regions: ```bash -http -f PUT :8001/vaults/aws-eu-central-vault name=aws config.region="eu-central-1" -http -f PUT :8001/vaults/aws-us-west-vault name=aws config.region="us-west-1" +curl -X PUT http://HOSTNAME:8001/vaults/aws-eu-central-vault -d name=aws -d config.region="eu-central-1" +curl -X PUT http://HOSTNAME:8001/vaults/aws-us-west-vault -d name=aws -d config.region="us-west-1" ``` This lets you source secrets from different regions: