def GetKey():
  """Fetches rcpkey from metadata of the instance.

  Returns:
    RPC key in string.
  """
  try:
    response = urllib.urlopen(
        'http://metadata/computeMetadata/v1beta1/instance/attributes/rpckey')
    return response.read()
  except __HOLE__:
    return ''
dataset/ETHPy150Open GoogleCloudPlatform/Data-Pipeline/app/static/hadoop_scripts/rpc_daemon/__main__.py/GetKey