-
Notifications
You must be signed in to change notification settings - Fork 527
Closed
Labels
priority/backlogIssue is approved and in the backlogIssue is approved and in the backlog
Description
This is the issue that previously discussed (#1754) .
Previous issue was closed, however I still need the feature.
Proposal
The SVID rotation period is configurable.
Motivation
In my production, There are different implementations of SPIFFE are running.
(e.g. SPIRE and Athenz)
It is desirable that SVIDs issued by any implementation have the same availability level.
(e.g. SVID TTL=7days, Rotation=everyday)
Details
A parameter is similar to the cert-manager.
agent {
experimental {
rotation_config {
x509_rotate_before = "144h"
}
}
}
Above example means that the Agent will rotate the SVID 6 days before expiration.
Limitations:
- The lower limit is considered to be a value such as
1m
. - There is no upper limit, If the
x509_rotate_before
is grater than the SVID TTL, the Agent will fallback to default behavior (rotation at 1/2 of TTL).
I have a PoC code, so please refer to check more details.
#4116
Metadata
Metadata
Assignees
Labels
priority/backlogIssue is approved and in the backlogIssue is approved and in the backlog