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

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

  1. Edit the OpenStackControlPlane custom resource (CR) for editing:

    $ oc edit openstackcontrolplane openstack-control-plane
  2. Under the properties field 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.
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top