def get_environment():
    session = botocore.session.get_session()
    access_key = session.get_credentials().access_key
    secret_key = session.get_credentials().secret_key
    environment_vars = [{'name': 'AWS_ACCESS_KEY_ID', 'value': access_key}, {'name': 'AWS_SECRET_ACCESS_KEY', 'value': secret_key}]
    environment_vars += get_elsevier_api_keys()
    return [var_dict for var_dict in environment_vars if (var_dict['value'] and var_dict['name'])]
def get_environment():
    session = botocore.session.get_session()
    access_key = session.get_credentials().access_key
    secret_key = session.get_credentials().secret_key
    environment_vars = [{'name': 'AWS_ACCESS_KEY_ID', 'value': access_key}, {'name': 'AWS_SECRET_ACCESS_KEY', 'value': secret_key}]
    environment_vars += get_elsevier_api_keys()
    return [var_dict for var_dict in environment_vars if (var_dict['value'] and var_dict['name'])]