@@ -46,6 +46,9 @@ mod integration_tests {
46
46
const BINDLE_SERVER_BASIC_AUTH_HTPASSWD_FILE : & str = "tests/http/htpasswd" ;
47
47
const BINDLE_SERVER_BASIC_AUTH_USER : & str = "bindle-user" ;
48
48
const BINDLE_SERVER_BASIC_AUTH_PASSWORD : & str = "topsecret" ;
49
+ const BINDLE_SECRET_FILE : & str = "tests/http/secret_keys.toml" ;
50
+ const BINDLE_KEYRING_FILE : & str = "tests/http/keyring.toml" ;
51
+ const BINDLE_LABEL : & str =
"\" Test<[email protected] >\" " ;
49
52
50
53
const HIPPO_BASIC_AUTH_USER : & str = "hippo-user" ;
51
54
const HIPPO_BASIC_AUTH_PASSWORD : & str = "topsecret" ;
@@ -85,6 +88,12 @@ mod integration_tests {
85
88
) ,
86
89
"--bindle-server" ,
87
90
& b. url,
91
+ "--bindle-secret-file" ,
92
+ BINDLE_SECRET_FILE ,
93
+ "--bindle-keyring-file" ,
94
+ BINDLE_KEYRING_FILE ,
95
+ "--bindle-label" ,
96
+ BINDLE_LABEL ,
88
97
] ,
89
98
None ,
90
99
) ?;
@@ -125,6 +134,12 @@ mod integration_tests {
125
134
BINDLE_SERVER_BASIC_AUTH_USER ,
126
135
"--bindle-password" ,
127
136
BINDLE_SERVER_BASIC_AUTH_PASSWORD ,
137
+ "--bindle-secret-file" ,
138
+ BINDLE_SECRET_FILE ,
139
+ "--bindle-keyring-file" ,
140
+ BINDLE_KEYRING_FILE ,
141
+ "--bindle-label" ,
142
+ BINDLE_LABEL ,
128
143
] ,
129
144
None ,
130
145
) ?;
@@ -161,6 +176,12 @@ mod integration_tests {
161
176
) ,
162
177
"--bindle-server" ,
163
178
& b. url,
179
+ "--bindle-secret-file" ,
180
+ BINDLE_SECRET_FILE ,
181
+ "--bindle-keyring-file" ,
182
+ BINDLE_KEYRING_FILE ,
183
+ "--bindle-label" ,
184
+ BINDLE_LABEL ,
164
185
] ,
165
186
None ,
166
187
) ?;
@@ -205,6 +226,12 @@ mod integration_tests {
205
226
) ,
206
227
"--bindle-server" ,
207
228
& b. url,
229
+ "--bindle-secret-file" ,
230
+ BINDLE_SECRET_FILE ,
231
+ "--bindle-keyring-file" ,
232
+ BINDLE_KEYRING_FILE ,
233
+ "--bindle-label" ,
234
+ BINDLE_LABEL ,
208
235
] ,
209
236
None ,
210
237
) ?;
@@ -259,6 +286,12 @@ mod integration_tests {
259
286
) ,
260
287
"--bindle-server" ,
261
288
& b. url,
289
+ "--bindle-secret-file" ,
290
+ BINDLE_SECRET_FILE ,
291
+ "--bindle-keyring-file" ,
292
+ BINDLE_KEYRING_FILE ,
293
+ "--bindle-label" ,
294
+ BINDLE_LABEL ,
262
295
] ,
263
296
None ,
264
297
) ?;
@@ -311,6 +344,12 @@ mod integration_tests {
311
344
HIPPO_BASIC_AUTH_USER ,
312
345
"--hippo-password" ,
313
346
HIPPO_BASIC_AUTH_PASSWORD ,
347
+ "--bindle-secret-file" ,
348
+ BINDLE_SECRET_FILE ,
349
+ "--bindle-keyring-file" ,
350
+ BINDLE_KEYRING_FILE ,
351
+ "--bindle-label" ,
352
+ BINDLE_LABEL ,
314
353
] ,
315
354
None ,
316
355
) ?;
@@ -389,6 +428,8 @@ mod integration_tests {
389
428
server_cache. path ( ) . to_string_lossy ( ) . to_string ( ) . as_str ( ) ,
390
429
"-i" ,
391
430
address. as_str ( ) ,
431
+ "--keyring" ,
432
+ BINDLE_KEYRING_FILE ,
392
433
] ,
393
434
auth_args. as_slice ( ) ,
394
435
]
0 commit comments