api v2 gpg controller changes
Merge pull request #3570 from parthaa/gpgkey-v1-to-v2

api v2 gpg controller changes