question

Swabha avatar image
0 Votes"
Swabha asked Swabha commented

Helping in PowerShell Script for authorization

Need help in PowerShell Script for authorization header

windows-server-powershellazure-key-vault
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.

RichMatheisen-8856 avatar image
0 Votes"
RichMatheisen-8856 answered Swabha commented

This appears to be a duplicate of this post: powershell-script-for-warm-up-stage-provide-a-way.html


· 3
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.

Modified the changes

0 Votes 0 ·

Hello Rich,

But I need to authenticate with username and password of the root Url and for the remaining urls, It is not going to the second part of the script. It just closes after authenticating. Can you please modify the PS script to login to the url with the username and password provided

PS C:\pipelinetask> .\psbasic.ps1

cmdlet psbasic.ps1 at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
url:xxxxxx
username: xxxxxxx
PS C:\pipelinetask>

0 Votes 0 ·

Removed the script and I want PS script to be from Keyvault client secrets.

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

Hello Swabha,

Please check the next article including the authentication request and response types:

https://docs.microsoft.com/en-us/azure/key-vault/general/authentication-requests-and-responses

Hope this helps with your query,



--If the reply is helpful, please Upvote and Accept as 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.