Red Hat Enterprise Linux Secure Boot Driver Repository

Is there a repository for RHEL 9 that can install the Nvidia drivers but works with secure boot?

You can use:
dnf config-manager --add-repo http://developer.download.nvidia.com/compute/cuda/repos/rhel9/x86_64/cuda-rhel9.repo

To install the Nvidia Driver (For L40s, A100, H100):
dnf install nvidia-driver

But unfortunately this doesn’t work when Secure Boot is enabled on the server. The Only option is then to install the Nvidia driver via the install script with your own keys that you put in the UEFI:
sh NVIDIA-Linux-x86_64-550.90.07.run -s --module-signing-secret-key=/Nvidia.key --module-signing-public-key=/Nvidia.der

But this isn’t very handy to update your driver.