Replies: 1 comment
-
Hey @bert2, while I'm no expert for the service (and can hence not speak for the validity of the approach) I am fairly certain the current version of the In general, to pass a connection string from one module to another, you may be able to built it, but you could also add the connection string as an output to the service bus module and consume it in a subsequent deployment. However, this really only makes sense if the output is not considered sensitive as there is no |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm struggling with the following scenario: In my bicep I'm creating a resource that my web app should connect to via a connection string. For instance I'm creating a
Microsoft.ServiceBus/namespaces
module. Later when I create myMicrosoft.Web/sites
web app I want to inject the connection string as an environment variable during deployment. But how can I get the connection string from a module?Am I supposed to use
listKeys()
on Microsoft.ServiceBus/namespaces/authorizationRules? Not sure how to go about this exactly though.I'm getting the feeling that what I'm trying to do is discouraged (maybe for security reasons) and I'm supposed to do something else entirely.
Beta Was this translation helpful? Give feedback.
All reactions