BOM added to secrets


05/25/2023, 9:51 AM
echo $cfAccessClientId | npx wrangler secret put cfAccessClientId
                  echo $cfAccessClientSecret | npx wrangler secret put cfAccessClientSecret
is added to the start of each secret. This is done in azure pipelines with an
- task: PowerShell@2
task. Please help #799437470004412476 #1052656806058528849
WHats more weird...
console.log("id", cfAccessClientId);
  console.log("secret", cfAccessClientSecret);
  await fetch("", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    body: JSON.stringify({
      1: "thisisanid.access",
      2: "thisisasecret",
when i log the values, bom is not added. When I hardcode values bom not added. When I use normal environment variables instead of secrets it also works fine,.....
This is returned when values not hard coded and fetched from the env
  "1": "thisisasclientid.access",
  "2": "thisisaclientsecret"