PowerShell Genie

How should PowerShell automation handle credentials and secrets?

Question 1 min read Windows PowerShell 5.1 and PowerShell 7

Documentation: Microsoft Learn

Use the organization's approved secret store or workload identity, request the narrowest scope, keep secrets out of source and logs, and rotate secrets on a schedule.

Interview · Question 15 of 34

Answer before reveal

Your draft

Write the answer you would give in an interview. The model answer stays hidden until you have drafted at least a short response.

Primary documentation

Windows services and processes documentation

Continue
Genie guideHow should PowerShell automation handle credentials and secrets?

Use the organization's approved secret store or workload identity, request the narrowest scope, keep secrets out of source and logs, and rotate secrets on a schedule.