Is the API key included in the Configuration file?

Reply
Highlighted
L1 Bithead

Is the API key included in the Configuration file?

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.


Accepted Solutions
Highlighted
L4 Transporter

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

Highlighted
L4 Transporter

Hmm, not that I'm aware of.

View solution in original post


All Replies
Highlighted
L4 Transporter

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

Highlighted
L1 Bithead

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?

Highlighted
L4 Transporter

Hmm, not that I'm aware of.

View solution in original post

Highlighted
L1 Bithead

Thank you! will generate a new API key.

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 Live Community as a whole!

The Live Community thanks you for your participation!