Skip to content

ProServicesStorage/getAzureSaKeys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

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

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published