Create an Access Control App

  1. The second Function you will create later will need client credentials to make API calls. Click Access Control > Apps.
  2. Create a new App with Scopes set to function and thing, and the Type set to Client Credentials.
    Figure 1.


  3. Go to the Authorization pane and select role::root from the Roles drop-down menu and click Save.
  4. Copy the Client ID and Client Secret and keep them locally for later use in a Variable. For more details on the Client Secret read the Access Control section of the documentation. After creating the App you might have to re-generate the Client Secret so you can copy it; do not re-generate the secret after that (any client using the old secret will stop working).
    Figure 2.