Authentication for API calls with trigger services

You need an authorization file to call other API Gateway services from a storage, scheduled and queued service.

This is how you get an authorization file

  1. Log in to API Gateway Portal.
  2. Click Authorized Apps.
  3. Click the large + in the top.
  4. Choose an appropriate name, like 'BaaS <your service>.'
  5. Click the 'Backend Service' radio button.
  6. Choose an appropriate Description.
  7. Save.
  8. Click Download credentials.
  9. Toggle 'Create Service Account'.
  10. In the full name area, select a user with the needed access rights, preferably a dedicated service account.
  11. Click Download.

    You should now have a file downloaded with extension '.ionapi'.

This is how you put the authorization config into your deployed service.

  1. Expand 'Backend As A Service' in the left menu in the API Gateway portal.
  2. Click Services.
  3. Open the service you want to update.
  4. Upload your .ionapi file into the configuration named <strong> BAAS_IONAPI_AUTH</strong>. (If that is missing, it needs to be added in the manifest. See the manifest documentation for an example.)
  5. Click Submit.