question

Swabha avatar image
0 Votes"
Swabha asked vipulsparsh-MSFT commented

Need PowerShell warmup script for authenticating an URL using Keyvault secrets authorization and sha516 cryptography

Need PowerShell script for authenticating an URL using Keyvault secrets authorization and sha516 cryptography

windows-server-powershellazure-key-vault
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Swabha
I just wanted to check in and see if you had any other questions or if you were able to resolve this issue? If you have any other questions, please let us know.
Thank you for your time and patience throughout this issue.

=========================================================================================================
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

0 Votes 0 ·
kobulloc-MSFT avatar image
0 Votes"
kobulloc-MSFT answered Swabha commented

Hello, @Swabha!

Is the SHA-516 a hard requirement? This is the list of supported key types, algorithms, and operations for Azure Key Vault:
https://docs.microsoft.com/en-us/azure/key-vault/keys/about-keys-details

In PowerShell you'll be primarily leveraging Get-AzureKeyVaultSecret. This is a good write up from Virtual Geek that walks you through the process of using a Key Vault secret identifier url to get the secret value using PowerShell (script included at the bottom):

http://vcloud-lab.com/entries/microsoft-azure/use-key-vault-secret-identifier-url-to-get-the-secret-value-using-powershell

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello Kobulloc, Sorry I was wrong, I need Sha512 cryptography. Thanks for correcting it.

1 Vote 1 ·

Hello Kobulloc, I need powershell script for warming up of URLs , that gets authentication from an Azure Keyvault using SHA 512 Cryptography.

Basically the script is similar to below but I want logic of an Azure Keyvault authorization of URL using SHA 512:

0 Votes 0 ·
LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hi there,

The logic of an Azure Keyvault authorization of URL using SHA 512 can be found here
https://docs.microsoft.com/en-us/azure/key-vault/general/authentication

This might be helpful for SHA512 Class https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.sha512?view=net-5.0



If the reply is helpful, please Upvote and Accept it as an answer

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.