Simplify turning creds into KeyInfo for shared objects.