Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created January 4, 2018 11:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinyoo/ecc5ba5a52c27bc024093b6370ae40e4 to your computer and use it in GitHub Desktop.
Save justinyoo/ecc5ba5a52c27bc024093b6370ae40e4 to your computer and use it in GitHub Desktop.
List of Access Keys from Output Values after ARM Template Deployment
Invoke-AzureRmResourceAction `
-ResourceGroupName "RESOURCE_GROUP_NAME" `
-ResourceType "Microsoft.ServiceBus/namespaces/authorizationRules" `
-ResourceName "SERVICE_BUS_NAMESPACE_NAME/RootManageSharedAccessKey" `
-Action listKeys `
-Force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment