Skip to content

Commit 45813ad

Browse files
iRon7sdwheeler
andauthored
Update docs/Rules/AvoidSecretDisclosure.md
Co-authored-by: Sean Wheeler <sean.wheeler@microsoft.com>
1 parent 83b4194 commit 45813ad

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

docs/Rules/AvoidSecretDisclosure.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ converted to plain text, which can lead to unintended exposure of sensitive info
2020
2121
## How to Fix
2222

23-
In general, avoid any code pattern that involves converting secrets to plaintext or accessing plaintext secrets.
23+
In general, avoid any code pattern that involves converting secrets to plaintext or accessing
24+
plaintext secrets.
2425

25-
* For `ConvertFrom-SecureString -AsPlainText`: Use `-Credential` parameter instead
26-
* For `SecureStringTo*` methods: Avoid converting to plaintext
27-
* For `Password` properties: Use secure credential objects directly or the SecureString equivalent
26+
- For `ConvertFrom-SecureString -AsPlainText`: Use `-Credential` parameter instead
27+
- For `SecureStringTo*` methods: Avoid converting to plaintext
28+
- For `Password` properties: Use secure credential objects directly or the SecureString equivalent
2829
`SecurePassword` instead of accessing plaintext passwords.
2930

3031
> [!NOTE]

0 commit comments

Comments
 (0)