File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ It requires three things:
298
298
299
299
- Path to _source store_ config file via `--source` flag
300
300
- Path to _target store_ config file via `--target` flag
301
- - Path to _sync plan_ config file via `--plan ` flag
301
+ - Path to _sync plan_ config file via `--syncjob ` flag
302
302
303
303
Note that only YAML configuration files are supported.
304
304
You can also provide optional params for CRON schedule to periodically sync secrets via `--schedule` flag.
Original file line number Diff line number Diff line change @@ -135,10 +135,10 @@ Secret synchronization is performed using the CLI by executing the sync plan bet
135
135
To synchronize database secrets from our local to Vault secret store, run:
136
136
137
137
``` bash
138
- secret-sync \
138
+ secret-sync sync \
139
139
--source " /tmp/example/local-store.yml" \
140
140
--target " /tmp/example/vault-store.yml" \
141
- --sync " /tmp/example/db-secrets-sync.yml"
141
+ --syncjob " /tmp/example/db-secrets-sync.yml"
142
142
```
143
143
144
144
If successful, your output should contain something like:
@@ -163,10 +163,10 @@ docker exec -it secret-sync-vault-1 vault kv get -mount="secret" "db-host"
163
163
To synchronize application access secret from Vault to our local secret store, run:
164
164
165
165
``` bash
166
- secret-sync \
166
+ secret-sync sync \
167
167
--target " /tmp/example/local-store.yml" \
168
168
--source " /tmp/example/vault-store.yml" \
169
- --sync " /tmp/example/app-access-config-sync.yml"
169
+ --syncjob " /tmp/example/app-access-config-sync.yml"
170
170
```
171
171
172
172
If successful, besides logs:
Original file line number Diff line number Diff line change @@ -108,10 +108,10 @@ Secret synchronization is performed using the CLI by executing the sync plan bet
108
108
To synchronize the database secrets from the first Vault to the second one, run:
109
109
110
110
``` bash
111
- secret-sync \
111
+ secret-sync sync \
112
112
--source " /tmp/example/vault-store.yml" \
113
113
--target " /tmp/example/vault-store-2.yml" \
114
- --sync " /tmp/example/db-secrets-sync-from-vault-to-vault.yml"
114
+ --syncjob " /tmp/example/db-secrets-sync-from-vault-to-vault.yml"
115
115
```
116
116
117
117
If successful, your output should contain something like:
You can’t perform that action at this time.
0 commit comments