I've created a secret for my Azure Container App by adding the secret from the portal.
But how do I reference it inside my code, such as for a database connection string?
The section on using secrets says only:
Application secrets are referenced via the
secretref
property. Secret values are mapped to application-level secrets where thesecretref
value matches the secret name declared at the application level.
I should mention my container app is not a .NET app -- it's a Node.js service. Where is this secretref
property to be found? I've checked environment variables in the running container and don't see the secret there.