Provide a custom encryption key for a fresh installation
Supply your own encryption key before the initial Red Hat Edge Manager deployment on Red Hat OpenShift Container Platform. If a key already exists when Helm runs, Red Hat Edge Manager keeps it and does not generate a replacement key, so no rotation or migration is needed.
Before you begin
- You have
cluster-adminpermissions on the Red Hat OpenShift Container Platform cluster. - The
ocCLI is installed and authenticated. - You have generated a base64-encoded 32-byte random value for the encryption key.
Procedure
Results
- Verify that the secret contains the expected key:
$ oc get secret flightctl-encryption-key -n <project_name> -o jsonpath='{.data.key}' | base64 -d | wc -cThe output should show
32bytes.