How to recover S2S pre shared key from azure VPN Gateway

KMc 0 Reputation points
2024-08-14T08:31:22.5066667+00:00

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.

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,516 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,032 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 44,551 Reputation points Microsoft Employee
    2024-08-14T11:48:21.52+00:00

    @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,

    From Azure Powershell,

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.