As stated in #1907967, ReaR supports encrypted backups by setting up the variables BACKUP_PROG_CRYPT_ENABLED and BACKUP_PROG_CRYPT_KEY. Those keys should be configurable by the ansible automation.
For decrypt the backup file it is required to run the command: dd if=backup.tar.gz | /usr/bin/openssl des3 -d -k "1234" | tar -C /ctl_plane_backups/undercloud-0/ -xzvf - '*.conf' In this case the backup.tar.gz file is located in the folder /ctl_plane_backups/undercloud-0/ and the encryption key is "1234"
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2022:6543