Skip to content

Make grace period of lease configurable #13278

@evan361425

Description

@evan361425

Is your feature request related to a problem? Please describe.
When I using consul_template to generate certificate from Vault PKI, I want to know explicit renew period. But in Vault, it is hard code inside calcuateGrace function.

Describe the solution you'd like
Set up grace period by configuration. Ratio or specific grace period(with some jitter internally) in PKI issue API (or globally).

Describe alternatives you've considered
Predict the period or using cron job.

Explain any additional use-cases
Maybe renewable credentials of Database.

Additional context
It might be useless when dealing with short period.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions