Script to pull all PSKs from All Orgs/Networks

Mloraditch
Building a reputation

Script to pull all PSKs from All Orgs/Networks

Before I spin wheels to write this, does anyone have a script they would be willing to share that will iterate through and pull all the PSKs from every network and output into some sort of text format?

2 REPLIES 2
NolanHerring
Kind of a big deal

Not sure if you can but this is the only command that I know of:

https://api.meraki.com/api/v0/networks/:networkId/ssids

I'd have to test it, because I'm not sure if it even shows you the PSK or not

But if you do a GET to get all your networks, then parse out the networks, then run that command above to get all the SSID's for each network
Nolan Herring | nolanwifi.com
TwitterLinkedIn
Mloraditch
Building a reputation

Yes I've tested and the command works and gets me the PSK. It's the iteration through my clients that I'm not all that familiar with. I can figure it out, but if someone already has, don't want to reinvent the wheel.

Thanks!

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels