Bugfix included in 4.7 but customer currently on 4.6 EUS and so requesting backport. Thanks.
Create a Source Secret with 'SSH Key' type, upload some certs file, check the text area format, it is using
Verified on 4.6.0-0.nightly-2021-03-21-131139(candidate nightly for 4.6.23)
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 (OpenShift Container Platform 4.6.23 bug fix update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
*** Bug 1935673 has been marked as a duplicate of this bug. ***