Stop Using Unsecured Credentials in Your PowerShell Scripts and Use Azure Key Vault Instead

May 17, 2023
1 min read


Some users store credentials including the password for a specific service account inside a PowerShell script in real-world production. This poses a highly vulnerable issue where an attacker can simply grab the credentials and use them. In this video, I discuss how we can use a privileged credential in your PowerShell script in a more secure way using a certificate and Azure Key Vault.

Mahdi Tehrani

Mahdi Tehrani

Mahdi Tehrani has been involved with Active Directory and Azure AD for about 10 years. He works as an IAM consultant for “iC Consult” and his fields of expertise are around anything Active Directory, PowerShell, Azure AD and identity solutions including Quest One Identity. 

Your Privacy

Like most sites, TekkiGurus uses cookies and similar technologies to improve your experience.

We may use cookies and other technologies that:

  • Are essential for the site to work
  • Remember your preferences
  • Collect information about how you use our site
  • Provide more relevant content and advertising
Cookie Policy