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

Provide script to upload a certificate in the APIM Certificate store #136

Closed
mbraekman opened this issue Feb 19, 2021 · 1 comment · Fixed by #153
Closed

Provide script to upload a certificate in the APIM Certificate store #136

mbraekman opened this issue Feb 19, 2021 · 1 comment · Fixed by #153
Assignees
Labels
area:api-management All issues related to Azure API Management feature All issues related to new features
Milestone

Comments

@mbraekman
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Provide script to upload a certificate in the APIM Certificate store.
This allows you to upload private certificates to be used for authenticating against backend services.

Describe the solution you'd like
In order to upload a private certificate, you need to perform these steps:

  • Get APIM Context
  • Create new AzApiManagementCertificate referring to the APIM-context.

See: https://docs.microsoft.com/en-us/powershell/module/az.apimanagement/new-azapimanagementcertificate?view=azps-5.5.0

This would have the following parameters:

  • ResourceGroupName (resource group containing the APIM instance)
  • ServiceName (name of the APIM instance)
  • CertificateFilePath (full path to the location of the public certificate)
  • CertificatePassword (password for the private certificate)

Target-module:

  • Arcus.Scripting.ApiManagement

Describe alternatives you've considered
Manual uploading of private certificates.

@mbraekman mbraekman added feature All issues related to new features area:api-management All issues related to Azure API Management labels Feb 19, 2021
@mbraekman mbraekman modified the milestones: v0.4.0, v0.5.0 Feb 19, 2021
@stijnmoreels stijnmoreels self-assigned this Mar 31, 2021
@stijnmoreels
Copy link
Member

Voorlopig lijkt het password required, dus zullen we voorlopig niet kunnen gebruiken voor public certificates. Right?
Azure/azure-powershell#12571

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:api-management All issues related to Azure API Management feature All issues related to new features
Projects
None yet
2 participants