From 6920182e069dcd46d3e061d52102a343d31b08bf Mon Sep 17 00:00:00 2001 From: hc-github-team-secure-vault-core <82990506+hc-github-team-secure-vault-core@users.noreply.github.com> Date: Mon, 23 Oct 2023 11:34:50 -0400 Subject: [PATCH] backport of commit db4819427ad0513f9c9093c9469d1043c0a58dc8 (#23787) Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com> --- .../content/api-docs/system/secrets-sync.mdx | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/website/content/api-docs/system/secrets-sync.mdx b/website/content/api-docs/system/secrets-sync.mdx index 141e62d35d80..059d55fbffac 100644 --- a/website/content/api-docs/system/secrets-sync.mdx +++ b/website/content/api-docs/system/secrets-sync.mdx @@ -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 ``` @@ -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 ``` @@ -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 ``` @@ -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 ``` @@ -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 ``` @@ -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 ``` @@ -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 ``` @@ -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 ``` @@ -350,7 +350,7 @@ Associations also contain the latest sync status for the secret they represent. - 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. @@ -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 ``` @@ -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 ``` @@ -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 ```