Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created January 4, 2018 11:32
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/620c4945b5d82e98829481f362b23fa0 to your computer and use it in GitHub Desktop.
Save justinyoo/620c4945b5d82e98829481f362b23fa0 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.DocumentDB/databaseAccounts" `
-ResourceName "COSMOS_DB_ACCOUNT_NAME" `
-Action listKeys `
-Force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment