mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-12-03 10:43:43 +00:00
Change default TTL from 30 to 32 to accommodate monthly operations (#1942)
This commit is contained in:
@@ -174,7 +174,7 @@ func TestRekey_init_pgp(t *testing.T) {
|
||||
Logger: nil,
|
||||
System: logical.StaticSystemView{
|
||||
DefaultLeaseTTLVal: time.Hour * 24,
|
||||
MaxLeaseTTLVal: time.Hour * 24 * 30,
|
||||
MaxLeaseTTLVal: time.Hour * 24 * 32,
|
||||
},
|
||||
}
|
||||
sysBackend := vault.NewSystemBackend(core, bc)
|
||||
|
||||
@@ -62,8 +62,8 @@ func DevConfig(ha bool) *Config {
|
||||
|
||||
Telemetry: &Telemetry{},
|
||||
|
||||
MaxLeaseTTL: 30 * 24 * time.Hour,
|
||||
DefaultLeaseTTL: 30 * 24 * time.Hour,
|
||||
MaxLeaseTTL: 32 * 24 * time.Hour,
|
||||
DefaultLeaseTTL: 32 * 24 * time.Hour,
|
||||
}
|
||||
|
||||
if ha {
|
||||
|
||||
Reference in New Issue
Block a user