def GetKey():
  try:
    response = urllib.urlopen(
        'http://metadata/computeMetadata/v1beta1/instance/attributes/rpckey')
    return response.read()
  except IOError:
    return ''
Fetches rcpkey from metadata of the instance.
dataset/ETHPy150Open GoogleCloudPlatform/Data-Pipeline/app/static/hadoop_scripts/rpc_daemon/__main__.py/GetKey