Chapter 1. Scheduling fernet key rotation
For security purposes, the fernet keys in your Red Hat OpenStack Services on OpenShift (RHOSO) environment are automatically rotated. To meet the unique security requirements of your environment, you can modify the frequency with which fernet key rotations occur as well as the number of old decryption keys kept after each rotation.
1.1. Updating fernet key rotation frequency Copy linkLink copied to clipboard!
As of Red Hat OpenStack Services on OpenShift (RHOSO), you can update the frequency with which the Identity service (keystone) rotates its fernet keys.
Procedure
Edit the
OpenStackControlPlanecustom resource (CR) for editing:$ oc edit openstackcontrolplane openstack-control-planeUnder the
propertiesfield under the Identity service (keystone) configuration, add the following:fernetMaxActiveKeys: default: <active_keys> description: FernetMaxActiveKeys - Maximum number of fernet token keys after rotation type: int fernetRotationDays: default: <days>where:
<active_keys>-
Specifies the number of keys to keep active. The default is
5. <days>- Specifies the frequency with which to rotate your fernet keys.