Is the API key included in the Configuration file?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is the API key included in the Configuration file?

L1 Bithead

I just successfully finished migrating a pair of PA-500 to a pair of PA-3020, exporting and loading the configuration file.

 

I have checked the configuration file and I couldn't find the API key. Is someone able to confirm if the API key is included in the configuration file or if I have to generate a new API key and install the new key in the servers.

 

Thanks in advance for your help.

2 accepted solutions

Accepted Solutions

L5 Sessionator

The API key is generated from the user's password, it's not stored in the config file.  To generate the API key, you use the keygen PAN-OS API call:

 

https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-panorama-api/get-started-with-the-pan-os-xml-api...

View solution in original post

Hmm, not that I'm aware of.

View solution in original post

4 REPLIES 4

L5 Sessionator

The API key is generated from the user's password, it's not stored in the config file.  To generate the API key, you use the keygen PAN-OS API call:

 

https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-panorama-api/get-started-with-the-pan-os-xml-api...

Thank you for the confirmation. One more question please, if I have the API key (stored in a different server), is there a way to upload it to the FW?

Hmm, not that I'm aware of.

Thank you! will generate a new API key.

  • 2 accepted solutions
  • 5280 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!