Since it looks like your file format is just lines of varName = varValue, you can just import as text, select the lines that have an =, and store the variable names and values as pairs:
text = Import["pathToYourFile.env", "Text"];
nameValuePairs =
Select[StringSplit[text, "\n"], StringContainsQ[#, "="] &];
nameValuePairs = StringSplit[#, "="] & /@ nameValuePairs
(*{{STRIPE_API_KEY,scr_12345},{TWILIO_API_KEY,abcd1234"}}*)
There's probably an even nicer way to do this with StringCases