-
Epic
-
Resolution: Unresolved
-
Major
-
None
-
None
-
Keystone fernet key rotation
-
32
-
False
-
-
False
-
OSPRH-4833Keystone Improvement
-
?
-
Committed
-
To Do
-
OSPRH-4833 - Keystone Improvement
-
?
-
Committed
-
0% To Do, 18% In Progress, 82% Done
-
2024Q1
Jira Description
As a PCP user I want to set up a periodic job to rotate fernet tokens so that my keys are securely rotated and distributed across keystone instances.
Summary
Keystone fernet tokens should be periodicaly rotated using keystone-manage https://docs.openstack.org/keystone/queens/admin/identity-fernet-token-faq.html#what-is-the-recommended-way-to-rotate-and-distribute-keys
OpenShift uses periodic jobs instead of cron to achieve the same goals. We should use the keystone container to run keystone-manage, updating the volume containing fernet keys.
Definition of Ready
When we can consider User Story to be Ready?
- Defined clearly enough that all members of the team understand what needs to be done
- Includes any required enabling specs. wire frames etc.
- Fully meet INVEST criteria for User Stories
- Dependencies identified and there is a clear strategy how they will be managed
Prerequisites:
- Ability to configure the fernet keys
- Ability to configure the duration and time-frames of the rotations
Acceptance Criteria
- Job created to run the rotation using the keystone-manage using the keystone image and updating the fernet keys
- Periodic job added to the cluster by keystone-operator
- Ability to configure the rotation timeframes from both keystone-operator and meta operator (openstack-operator)
- This configuration will synchronize both keystone configuration settings and k8s periodic job schedule settings
Definition of Done
When we can consider User Story to be Done:
- Tests created - the rotation should be triggered in the CI
- Documentation on how to configure rotation
- Created pull request and merged to master
- Ready or next step: https://issues.redhat.com/browse/OSP-19148