Open stuartleeks opened 1 month ago
/workspaces/apim-genai-gateway-toolkit/infra/apim-genai/modules/apiManagement.bicep(816,67) : Warning outputs-should-not-contain-secrets: Outputs should not contain secrets. Found possible secret: function 'listSecrets' [https://aka.ms/bicep/linter/outputs-should-not-contain-secrets]
/workspaces/apim-genai-gateway-toolkit/infra/apim-genai/modules/apiManagement.bicep(817,67) : Warning outputs-should-not-contain-secrets: Outputs should not contain secrets. Found possible secret: function 'listSecrets' [https://aka.ms/bicep/linter/outputs-should-not-contain-secrets]
/workspaces/apim-genai-gateway-toolkit/infra/apim-genai/modules/apiManagement.bicep(818,69) : Warning outputs-should-not-contain-secrets: Outputs should not contain secrets. Found possible secret: function 'listSecrets' [https://aka.ms/bicep/linter/outputs-should-not-contain-secrets]
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Deploy the solution and see that the APIM subscription keys are listed in the deployment outputs
Expected/desired behavior
The deployment outputs don't contain secrets
OS and Version?
Versions
Mention any other details that might be useful
The end-to-end test scripts need the subscription keys to run. An alternative approach would be to write the keys to KeyVault and have the scripts pull the values from KeyVault when needed.