code: def disable_key(key_id, region=None, key=None, keyid=None, profile=None):
      '''
      Mark key as disabled.
  
      CLI example::
  
          salt myminion boto_kms.disable_key 'alias/mykey'
      '''
      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 f disable_key(key_id, region=None, key=None, keyid=None, profile=None):
      '''
      Mark key as disabled.
  
      CLI example::
  
          salt myminion boto_kms.disable_key 'alias/mykey'
      '''
      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
docs: Mark key as disabled.
  
      CLI example::
  
          salt myminion boto_kms.disable_key 'alias/mykey'