def describe_api_key(apiKey, region=None, key=None, keyid=None, profile=None):
 try:
  conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
  response = conn.get_api_key(apiKey=apiKey)
  return {'apiKey': _convert_datetime_str(response)}
 except ClientError as e:
  return {'error': salt.utils.boto3.get_error(e)}

def describe_api_key ( apiKey , region = None , key = None , keyid = None , profile = None ) : try : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) response = conn . get_api_key ( apiKey = apiKey ) return { 'apiKey' : _convert_datetime_str ( response ) } except ClientError as e : return { 'error' : salt . utils . boto3 . get_error ( e ) }
gets info about the given api key cli example: .