mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
backport of commit db4819427a (#23787)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ccc79081fc
commit
6920182e06
@@ -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.
|
||||
|
||||
<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>
|
||||
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user