Give CloudCredentials a createFrom interface.