Made GetInstanceCredentials public