Skip to content

Conversation

brandonv191
Copy link

Description

This PR adds certificate-based authentication support for VPN Gateway connections in Azure PowerShell. This enables users to configure VPN gateways to use certificate authentication instead of pre-shared keys, providing enhanced security for site-to-site VPN connections.
Changes include:

  • New cmdlet New-AzVirtualNetworkGatewayCertificateAuthentication to create certificate authentication configuration objects
  • Added -AuthenticationType and -CertificateAuthentication parameters to New-AzVirtualNetworkGatewayConnection and Set-AzVirtualNetworkGatewayConnection
  • Added -UserAssignedIdentityId parameter to Set-AzVirtualNetworkGateway for managed identity configuration
  • Added scenario tests for certificate authentication
  • Updated help documentation with practical examples

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

@isra-fel
Copy link
Member

isra-fel commented Oct 6, 2025

/azp run

Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@brandonv191 brandonv191 changed the title Certificate auth integration [Az.Network] Add support for certificate based authentication connections on Vpn Gateway Oct 6, 2025
@isra-fel
Copy link
Member

isra-fel commented Oct 6, 2025

/azp run

Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@brandonv191 brandonv191 force-pushed the certificate-auth-integration branch from 73eb566 to 1b45d25 Compare October 6, 2025 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants