def create_access_key(user_name, region=None, key=None, keyid=None, profile=None):
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 try:
  return conn.create_access_key(user_name)
 except boto.exception.BotoServerError as e:
  log.debug(e)
  log.error('Failed to create access key.')
  return str(e)

def create_access_key ( user_name , region = None , key = None , keyid = None , profile = None ) : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) try : return conn . create_access_key ( user_name ) except boto . exception . BotoServerError as e : log . debug ( e ) log . error ( 'Failed to create access key.' ) return str ( e )
create access key id for a user .