Skip to content

Commit

Permalink
Switch AWS Secrets Manager examples to use curl
Browse files Browse the repository at this point in the history
  • Loading branch information
mheap committed Aug 23, 2022
1 parent 3919b99 commit 5e6da3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5e6da3b

Please sign in to comment.