New secret in Key vault via PS?

Does anyone have a script or command for PS through which they can create a new Secret in Azure portal?

At this time I usually log on to a local portal from where I download a TXT file containing the secret key after which I go to the Azure portal and create the Secret manually.

I was wondering if I might be able to do this more easily with the help of a PS script?

submitted by /u/Condorul
[link] [comments]

Leave a Reply