Show Cisco Shared Secret

Reveal the pre-shared-key on a running Cisco Router or ASA

You can show your PSK in clear text as long as your Cisco Router or ASA is up and running and you have enable access to it, by executing “more system:running-config” with a pipe to include “pre-shared” word. Through comparison, a regular “show running-config” will have the PSK masked:

ASA-IPfield# sh running-config | inc pre-shared
 ikev1 pre-shared-key *****
ASA-IPfield# more system:running-config | inc pre-shared
 ikev1 pre-shared-key MyKey99!@#

More Info: