Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,543 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm trying to recover S2S pre shared key from azure VPN Gateway in plain text previous methods using Resource Explorer and Export of automation Template no longer work.
@KMc ,
Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you would like to retrieve a VPN connection's shared key.
From Azure CLI,
az network vpn-connection shared-key show
From Azure Powershell,
Get-AzVirtualNetworkGatewayConnection
Please let us know if we can be of any further assistance here.
Thanks,
Kapil
Please Accept an answer if correct.
Original posters help the community find answers faster by identifying the correct answer.