mirror of
https://github.com/azure/login.git
synced 2026-06-05 22:47:06 +00:00
Allow passwords to start with hyphen (#241)
Co-authored-by: Balaga Gayatri <balaga-gayatri@github.com>
This commit is contained in:
parent
5425855167
commit
5d3578bb81
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ async function main() {
|
|||
}
|
||||
else {
|
||||
console.log("Note: Azure/login action also supports OIDC login mechanism. Refer https://github.com/azure/login#configure-a-service-principal-with-a-federated-credential-to-use-oidc-based-authentication for more details.")
|
||||
commonArgs = commonArgs.concat("-p", servicePrincipalKey);
|
||||
commonArgs = commonArgs.concat(`--password=${servicePrincipalKey}`);
|
||||
}
|
||||
await executeAzCliCommand(`login`, true, loginOptions, commonArgs);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue