-
I have a named value that contains a link to a key vault secret containing a function key. I'd like to create an apim backend with an authorization credential with a "x-funcions-key" header that pulls it's value from the key vault secret via the named value. In the portal, it would look like this: I have tried the following code:
The New-AzApiManagementBackend command is throwing a null object reference exception. Can anyone see what I have wrong or know of example code please? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
After exporting the apim instance to an arm template via the portal, I was better able to understand the data the PowerShell was expecting. The following code works ok:
|
Beta Was this translation helpful? Give feedback.
After exporting the apim instance to an arm template via the portal, I was better able to understand the data the PowerShell was expecting. The following code works ok: