Add Managed HSM support to Application Gateway SSL certificate cmdlets#29418
Open
srijanee wants to merge 2 commits intoAzure:release-network-2025-07-01from
Open
Add Managed HSM support to Application Gateway SSL certificate cmdlets#29418srijanee wants to merge 2 commits intoAzure:release-network-2025-07-01from
srijanee wants to merge 2 commits intoAzure:release-network-2025-07-01from
Conversation
Add ApplicationGatewayManagedHsm model with KeyId and PublicCertData properties to support referencing keys stored in Managed HSM for SSL certificates. Changes: - SDK models: ApplicationGatewayManagedHsm.cs, updated SslCertificate and SslCertificatePropertiesFormat with Hsm property - PS model: PSApplicationGatewayManagedHsm.cs, updated PSApplicationGatewaySslCertificate - AutoMapper: bidirectional CNM<->MNM mapping for ManagedHsm - Cmdlets: Added -HsmKeyId and -HsmPublicCertData parameters to New/Set/Add-AzApplicationGatewaySslCertificate - Help docs: Added HSM examples and parameter documentation - ChangeLog: Added entry for Managed HSM support Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
| Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
Collaborator
|
/azp run |
Contributor
|
Azure Pipelines successfully started running 3 pipeline(s). |
The CI static analysis re-runs autorest from README.md and diffs the Generated/ folder. Revert the README.md to the original 2025-05-01 config so autorest can run successfully, and add a GeneratedSdkIssues exception to suppress the expected diff from our manually added ApplicationGatewayManagedHsm SDK model. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Collaborator
|
/azp run |
Contributor
|
Azure Pipelines successfully started running 3 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds Managed HSM (Hardware Security Module) support to Application Gateway SSL certificate PowerShell cmdlets, based on swagger changes from Azure/azure-rest-api-specs#42137.
New model:
ApplicationGatewayManagedHsmKeyId— URI of a key stored in Managed HSMPublicCertData— Base-64 encoded public certificate data (read-only from service)New cmdlet parameters
-HsmKeyId— Key identifier of a key stored in Managed HSM-HsmPublicCertData— Base-64 encoded public certificate dataAffected cmdlets
New-AzApplicationGatewaySslCertificateSet-AzApplicationGatewaySslCertificateAdd-AzApplicationGatewaySslCertificateChanges
ApplicationGatewayManagedHsm.cs(new),ApplicationGatewaySslCertificate.cs,ApplicationGatewaySslCertificatePropertiesFormat.csPSApplicationGatewayManagedHsm.cs(new),PSApplicationGatewaySslCertificate.csNetworkResourceManagerProfile.cs— bidirectional mappingAzureApplicationGatewaySslCertificateBase.cs— new parameters + NewObject()Testing
dotnet build src/Network/Network.Management.Sdk/Network.Management.Sdk.csproj— 0 errors, 0 warningsdotnet build src/Network/Network/Network.csproj— 0 errors, 0 warnings