Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 782 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 782 Bytes

getAzureSaKeys

This script will get the storage account keys for each storage account in the sa_accounts.txt file and export them to a CSV file.

Description

This script will get the storage account keys for each storage account in the sa_accounts.txt file and export them to a CSV file sa_keys.csv.

Requirements

  • PowerShell 5.1 or higher
  • Azure PowerShell module

Usage

  1. Create a text file named sa_accounts.txt in the same directory as the script
  2. Populate the sa_accounts.txt file with the storage account names with one per line
  3. Run the script ./getAzureSaKeys.ps1

Updates

  • 3/29/2024 Output now strips out the double quotes surrounding the variables which makes it easier to use. Also change instructions to reference the correct script name