Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ApiManagement] Set-AzureRmApiManagement does not set the CertificateInformation #6879

Closed
solankisamir opened this issue Aug 8, 2018 · 3 comments
Assignees
Labels
API Management Service Attention This issue is responsible by Azure service team.

Comments

@solankisamir
Copy link
Member

Description

They run following commands:

$proxy2 = New-AzureRmApiManagementCustomHostnameConfiguration -Hostname "myhostname.com" -HostnameType Proxy -KeyVaultId "https://mykeyvault.vault.azure.net/certificates/mycert/xxx" -DefaultSslBinding -NegotiateClientCertificate
$apim = Get-AzureRmApiManagement -ResourceGroupName "myrg" -Name "myapim"
$apim.ProxyCustomHostnameConfiguration += $proxy2
Set-AzureRmApiManagement -InputObject $apim -AssignIdentity

But it failed with following error: Invalid parameter: Either encodedCertificate or keyVaultId should be provided to retrieve the custom ssl certificate for type: Proxy

Script/Steps for Reproduction

Module Version

6.6.0

Environment Data

$PSVersionTable

Debug Output

@solankisamir
Copy link
Member Author

Ths issue is the cmdlet is not setting the CertificateInformation object in the resource model

@solankisamir
Copy link
Member Author

Started working on the change

Azure/azure-rest-api-specs#3609

@bsiegel bsiegel added the Service Attention This issue is responsible by Azure service team. label Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Management Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

3 participants