0

I am using extractor tool from Microsoft. Recently we changed some of our named values type from secret to Key vault. However when we generate extractor tool it deletes that named values and ignore it. Is there any way to fix this so that we can generate all types of named values? See the arm template code change screenshot for the named value which is not identified by tool which contains key vault secret enter image description here

Imgane5h
  • 304
  • 1
  • 3
  • 16

1 Answers1

0

Sometimes Extractor tool might not handle changes as expected. If the Extractor tool does not work properly, you need to manually update the produced ARM templates after using the tool.

Instead of above, you can manage APIM configuration using Azure PowerShell or CLI.

I tried updated named value to secret using PowerShell and it worked as shown.

$apimContext = New-AzApiManagementContext -ResourceGroupName "xxxxxx" -ServiceName "xxxxx"
Set-AzApiManagementNamedValue -Context $apimContext -NamedValueId "Property12" -Secret $True -PassThru

enter image description here

Reference: Set-AzApiManagementNamedValue PowerShell command.

If this doesn't work for you, raise a support request for the extractor tool functionality.

Jahnavi
  • 3,076
  • 1
  • 3
  • 10