Skip to content

Commit

Permalink
backport of commit db48194 (#23787)
Browse files Browse the repository at this point in the history
Co-authored-by: claire bontempo <[email protected]>
  • Loading branch information
1 parent ccc7908 commit 6920182
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions website/content/api-docs/system/secrets-sync.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This endpoint lists all configured sync destination names regrouped by destinati
```shell-session
$ curl \
--header "X-Vault-Token: ..." \
--request LIST
--request LIST \
http://127.0.0.1:8200/v1/sys/sync/destinations
```

Expand Down Expand Up @@ -76,7 +76,7 @@ connection details are obfuscated.
```shell-session
$ curl \
--header "X-Vault-Token: ..." \
--request GET
--request GET \
http://127.0.0.1:8200/v1/sys/sync/destinations/aws-sm/my-store-1
```

Expand Down Expand Up @@ -123,7 +123,7 @@ associations cannot be deleted.
```shell-session
$ curl \
--header "X-Vault-Token: ..." \
--request DELETE
--request DELETE \
http://127.0.0.1:8200/v1/sys/sync/destinations/aws-sm/my-store-1
```

Expand Down Expand Up @@ -162,7 +162,7 @@ the AWS credentials provider chain and tries to infer region from the environmen
```shell-session
$ curl \
--header "X-Vault-Token: ..." \
--request POST
--request POST \
--data @payload.json
http://127.0.0.1:8200/v1/sys/sync/destinations/aws-sm/my-store-1
```
Expand Down Expand Up @@ -229,7 +229,7 @@ This endpoint creates a destination to synchronize secrets with an Azure Key Vau
```shell-session
$ curl \
--header "X-Vault-Token: ..." \
--request POST
--request POST \
--data @payload.json
http://127.0.0.1:8200/v1/sys/sync/destinations/aws-sm/my-store-1
```
Expand Down Expand Up @@ -261,7 +261,7 @@ See docs for [alternative ways](/vault/docs/secrets/gcp#authentication) to pass
```shell-session
$ curl \
--header "X-Vault-Token: ..." \
--request POST
--request POST \
--data @payload.json
http://127.0.0.1:8200/v1/sys/sync/destinations/gcp-sm/my-store-1
```
Expand Down Expand Up @@ -298,7 +298,7 @@ This endpoint creates a destination to synchronize action secrets with a GitHub
```shell-session
$ curl \
--header "X-Vault-Token: ..." \
--request POST
--request POST \
--data @payload.json
http://127.0.0.1:8200/v1/sys/sync/destinations/gh/my-store-1
```
Expand Down Expand Up @@ -337,7 +337,7 @@ This endpoint creates a destination to synchronize secrets with the GCP Secret M
```shell-session
$ curl \
--header "X-Vault-Token: ..." \
--request POST
--request POST \
--data @payload.json
http://127.0.0.1:8200/v1/sys/sync/destinations/vercel-project/my-store-1
```
Expand All @@ -350,7 +350,7 @@ Associations also contain the latest sync status for the secret they represent.

<Note>

In the event a synchronisation operation does not succeed, the sync status will indicate the cause
In the event a synchronization operation does not succeed, the sync status will indicate the cause
of the error and is a useful tool when troubleshooting.

</Note>
Expand All @@ -370,7 +370,7 @@ Associations also contain the latest sync status for the secret they represent.
```shell-session
$ curl \
--header "X-Vault-Token: ..." \
--request GET
--request GET \
http://127.0.0.1:8200/v1/sys/sync/destinations/aws-sm/my-store-1/associations
```

Expand Down Expand Up @@ -444,8 +444,8 @@ with `vault kv get -mount=my-kv my-secret-1`, the secret name is `my-secret-1`.
```shell-session
$ curl \
--header "X-Vault-Token: ..." \
--request POST
--data @payload.json
--request POST \
--data @payload.json \
http://127.0.0.1:8200/v1/sys/sync/destinations/aws-sm/my-store-1/associations/set
```

Expand Down Expand Up @@ -512,8 +512,8 @@ with `vault kv get -mount=my-kv my-secret-1`, the secret name is `my-secret-1`.
```shell-session
$ curl \
--header "X-Vault-Token: ..." \
--request POST
--data @payload.json
--request POST \
--data @payload.json \
http://127.0.0.1:8200/v1/sys/sync/destinations/aws-sm/my-store-1/associations/remove
```

Expand Down

0 comments on commit 6920182

Please sign in to comment.