Skip to content

Commit a4da110

Browse files
authored
Update authentication.md
note for secrets management module
1 parent d044c51 commit a4da110

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/ai-services/authentication.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ In this sample, a password is used to authenticate the service principal. The to
256256
$responseToken = Invoke-RestMethod -Uri $tokenEndpoint -Method Post -Body $body
257257
$accessToken = $responseToken.access_token
258258
```
259+
>[!NOTE]
260+
> Anytime you use passwords in a script, the most secure option is to use the PowerShell Secrets Management module and integrate with a solution such as Azure KeyVault
259261
260262
---
261263

0 commit comments

Comments
 (0)