def disable_key(key_id, region=None, key=None, keyid=None, profile=None):
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 r = {}
 try:
  key = conn.disable_key(key_id)
  r['result'] = True
 except boto.exception.BotoServerError as e:
  r['result'] = False
  r['error'] = __utils__['boto.get_error'](e)
 return r

def disable_key ( key_id , region = None , key = None , keyid = None , profile = None ) : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) r = { } try : key = conn . disable_key ( key_id ) r [ 'result' ] = True except boto . exception . BotoServerError as e : r [ 'result' ] = False r [ 'error' ] = __utils__ [ 'boto.get_error' ] ( e ) return r
mark key as disabled .