Preserve a newly generated OPNsense API key secret through handoff
OPNsense generates an API key’s private secret only once; a lost secret requires a new key pair. Plan controlled storage and replacement when handing a user-owned key to automation.
Read the guide