How to provide MongoDB gpgkey from Nexus Repository Manager without update key to local raw repo

Hi

I’ve server that unable connect to Internet.

For MongoDB install/update, yum need to download gpgkey(https://www.mongodb.org/static/pgp/server-4.4.asc)

My temp solution is to create a local raw repo, and upload server-4.4.asc to it, and change /etc/yum.repos.d/mongodb-org-4.2.repo as:
gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc >>
gpgkey=https://repo.company.com/repository/key/mongodb/server-4.2.asc

have better way to do it?
I don’t want manually update key to the local raw repo