🧪 test: add JWT secret rotation BDD scenarios and step implementations #12

Merged
arcodange merged 72 commits from feature/jwt-secret-rotation into main 2026-04-11 17:56:47 +02:00
Showing only changes of commit 33e6fa3921 - Show all commits

View File

@@ -10,7 +10,6 @@ Feature: JWT Secret Retention Policy
And the retention factor is 2.0
And the maximum retention is 72 hours
@todo
Scenario: Automatic cleanup of expired secrets
Given a primary JWT secret exists
And I add a secondary JWT secret with 1 hour expiration
@@ -19,7 +18,6 @@ Feature: JWT Secret Retention Policy
And the primary secret should remain active
And I should see cleanup event in logs
@todo
Scenario: Secret retention based on TTL factor
Given the JWT TTL is set to 2 hours
And the retention factor is 3.0
@@ -27,7 +25,6 @@ Feature: JWT Secret Retention Policy
Then the secret should expire after 6 hours
And the retention period should be 6 hours
@todo
Scenario: Maximum retention period enforcement
Given the JWT TTL is set to 72 hours
And the retention factor is 3.0