Commit 9014442
committed
Pass in
This change updates `EncryptedTable::init_headless` to build its own `CtsConfig` and
pass it into `ZeroKMSConfigBuilder`. By default, `ZeroKMSConfigBuilder` will build its
own `CtsConfig` without environment variable overrides. Using
`CtsConfig::builder().with_env()` and passing that to `ZeroKMSConfigBuilder` allows
for overriding CTS config from environment variables.cts_config to ZeroKMSConfigBuilder in EncryptedTable::init_headless
1 parent 0e432fa commit 9014442
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| 71 | + | |
69 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
73 | 79 | | |
| 80 | + | |
74 | 81 | | |
75 | 82 | | |
76 | 83 | | |
| |||
0 commit comments