code: def create_alias(alias_name, target_key_id, region=None, key=None, keyid=None,
                   profile=None):
      '''
      Create a display name for a key.
  
      CLI example::
  
          salt myminion boto_kms.create_alias 'alias/mykey' key_id
      '''
      conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
  
      r = {}
      try:
          conn.create_alias(alias_name, target_key_id)
          r['result'] = True
      except boto.exception.BotoServerError as e:
          r['result'] = False
          r['error'] = __utils__['boto.get_error'](e)
      return f create_alias(alias_name, target_key_id, region=None, key=None, keyid=None,
                   profile=None):
      '''
      Create a display name for a key.
  
      CLI example::
  
          salt myminion boto_kms.create_alias 'alias/mykey' key_id
      '''
      conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
  
      r = {}
      try:
          conn.create_alias(alias_name, target_key_id)
          r['result'] = True
      except boto.exception.BotoServerError as e:
          r['result'] = False
          r['error'] = __utils__['boto.get_error'](e)
      return r
docs: Create a display name for a key.
  
      CLI example::
  
          salt myminion boto_kms.create_alias 'alias/mykey' key_id