Creates a new instance of ApiKeyGenerator
.
The hostname or IP address of the PAN-OS device.
Generates an API key for the PAN-OS device using the provided username and password.
The username for the PAN-OS device.
The password for the PAN-OS device.
A promise that resolves to the generated API key.
An error if the API key could not be extracted from the response or if an error occurs in the request.
Generated using TypeDoc
Service class for generating API keys for Palo Alto Networks devices. Handles the communication with the PAN-OS API to retrieve an API key using given credentials.