Commit 8099896
authored
change: use vault ttl for all non-lease secrets
Not all Vault secrets report back a `rotation_period`, but as long as they do not have a lease (for renewal) and report a `ttl`, we should be able to use the `ttl` value to determine the sleep duration.
Fixes #19701 parent 781ce19 commit 8099896
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
0 commit comments