• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

API Key (for Python code)

Scheduled Pinned Locked Moved webGUI
2 Posts 2 Posters 275 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    panjali.ganiyev
    last edited by May 19, 2023, 3:37 PM

    Please help create an API Key for program which written on Python. The program contains this code, in which I must write the address of the key and the key itself.

    api_endpoint = 'https://<pfSense_IP>/api/v1/'
    api_key = '<API_key>'

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by May 19, 2023, 5:18 PM

      pfSense software does not include an API like that.

      You may have installed some kind of third-party add-on to act as an API, in which case you need to consult their documentation about key management.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received