Skip to content

Web app: Access

This page describes the Access tab. The Basics explain what service accounts and the two kinds of keys are.

At the top, under Connection details, the tab shows the Endpoint for requests to the deployments (see Using models) and the Endpoint for deployments, through which service accounts with Import models: Allowed use the management API. Below that are the project's service accounts.

Create a service account

  1. In the Access tab, click Create service account
  2. Enter a Name, e.g. the application or machine the access is for
  3. Under Access, choose per row what the service account may do:
    • Private models: None, All deployments, including future ones or Selected; with Selected, you tick the deployments in a list
    • Import models: None or Allowed
  4. Under Validity, choose how long its keys are valid:
    • Until: until a date, prefilled with one year from today
    • Unlimited: without an expiry date
  5. Click Next: Create credentials
  6. Copy the key for requests and, if you allowed Import models, the key for deployments
  7. Click Next: Instructions. The instructions show the endpoint and call examples with the new service account.
  8. Click Done

The What this access allows box sums up the selection in one sentence. The keys are only shown in step 6. If you close the dialog before then, the web app asks Keys saved? If a key is lost, you issue a new one (see Manage keys).

Manage service accounts

For each service account, the list shows the Deployments it may access, whether it may Import, when its keys expire (Valid until), who created it (Created) and the Status: Active, Expiring soon or No key. A row's action menu contains:

  • Change access and limits: change the access. The change applies immediately to all keys of the service account. If you withdraw Import models, the keys for deployments are revoked.
  • Manage keys: view and revoke keys
  • Issue new key: create another key
  • Show instructions: endpoint and call examples for this service account
  • Delete service account: delete the service account and all its keys

Manage keys

This is how you replace a key without your program failing: issue a new one, switch the program over to it and then revoke the old one.

  1. Open the service account's action menu and choose Issue new key
  2. For a service account with Import models, choose the Kind: For requests or For deployments
  3. Enter a Key name and choose the Validity
  4. Click Next: Create credentials and copy the key
  5. Click Done

The previous key stays valid until you revoke it. To do so, open Manage keys, choose Revoke in the key's action menu and confirm. Programs that use it lose access immediately. If you revoke the last key, the service account and its access remain until you issue a new key or delete it.

The page points out keys that expire within the next 30 days; Show affected accesses filters the list to these service accounts.

Delete a service account

  1. Open the service account's action menu and choose Delete service account
  2. Enter the service account's name to confirm
  3. Confirm the deletion

All keys of the service account are revoked; programs that use them lose access. This can't be undone. Deployments and imported models are kept.