Skip to content

Commit 340d877

Browse files
committed
Update: Vault Cert TTL To 1 Hour
1 parent 0204371 commit 340d877

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

persysctl/internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func GetConfig() Config {
138138
if cfg.VaultPKIRole == "" {
139139
cfg.VaultPKIRole = "persysctl"
140140
}
141-
cfg.VaultCertTTL = durationOr(stringWithEnv("vault_cert_ttl", "PERSYS_VAULT_CERT_TTL"), 24*time.Hour)
141+
cfg.VaultCertTTL = durationOr(stringWithEnv("vault_cert_ttl", "PERSYS_VAULT_CERT_TTL"), 1*time.Hour)
142142
cfg.VaultServiceName = strings.TrimSpace(stringWithEnv("vault_service_name", "PERSYS_VAULT_SERVICE_NAME"))
143143
if cfg.VaultServiceName == "" {
144144
cfg.VaultServiceName = "persysctl"

0 commit comments

Comments
 (0)