The API administrator has permissions to:

  • Install an SSL certificate for HTTPS access to the API
  • Set up API keys to grant users read/write access to API endpoints


To set up the API administrator in your controller:

  1. In a browser window, call the Credentials API. (Replace 10.20.30.40 with the IP address of your PAC controller.)

    http://10.20.30.40/admin/creds

    or, if you’re using HTTPS: https://10.20.30.40/admin/creds

    If your browser displays a security certificate warning (such as Invalid Certificate), ignore the warning and continue to the website. You may need to change your browser’s options to add your PAC controller to the browser’s list of trusted websites.
  2. Log in with the default username and password:
    Username: admin
    Password: password

    Inspect Opto 22 Device

  3. On the Administrative Credentials webpage, type a new username and password, and then click Submit.

    Usernames and passwords are case-sensitive.
    Username maximum length: 128 characters.
    Password maximum length: 128 characters.
    Username cannot be “admin”; password cannot be “password”.

    API Keys

Top

Next Step

If you’re using HTTPS, you need to install an SSL certificate before you configure API keys. Continue to Security.

If you’re using HTTP, continue to Configure API Keys.