Files
rancher-docs/versioned_docs/version-2.6/how-to-guides/new-user-guides/manage-clusters/rotate-encryption-key.md
T
Marty Hernandez Avedon 61b02185af #420 SEO Improvements: manage-clusters (#782)
* canonicized horizontal-pod-autoscaler

* added files_without_canonical.txt to gitignore

* canonized access-clusters

* canonicized manage-persistent-storage

* canonicized install-cluster-autoscaler

* canonicized provisioning-storage-examples

* canonicized manage-clusters

* missing versioned_docs
2023-08-15 15:16:46 -04:00

1.5 KiB

title
title
Encryption Key Rotation
<head> </head>

RKE1 Encryption Key Rotation

  1. Enable encryption key rotation with either of the following two options:

    • Select the Enabled radio button in the Rancher UI under Cluster Options > Advanced Options > Secrets Encryption:

    Enable Encryption Key Rotation

    • OR, apply the following YAML:
    rancher_kubernetes_engine_config:
      services:
        kube_api:
          secrets_encryption_config:
            enabled: true
    
  2. Rotate keys in the Rancher UI:

    2.1. Click ☰ > Cluster Management.

    2.2. Select ⋮ > Rotate Encryption Keys on the far right of the screen next to your chosen cluster:

    Encryption Key Rotation

RKE2 Encryption Key Rotation

New in v2.6.7

Important: Encryption key rotation is enabled by default and cannot be disabled.

To rotate keys in the Rancher UI:

  1. Click ☰ > Cluster Management.

  2. Select ⋮ > Rotate Encryption Keys on the far right of the screen next to your chosen cluster:

    Encryption Key Rotation

Note: For more information on RKE2 secrets encryption config, please see the RKE2 docs.