Release 21.0 240507.21.0

This release brings a much requested feature, API key management.

API Key Management

It's now possible to create, list, update and delete API keys in Skylark.

New API keys can be created with a name, a set of permissions and an expiry date.

Example of a create request with an expiry date. At the point of expiry, the API key will be deleted.

mutation {
  createApiKey(
    api_key: {
      name: "POWER_USER", 
      permissions: [READ, WRITE, IGNORE_AVAILABILITY, TIME_TRAVEL]
      expires: "2024-12-31T11:59:00Z"
    }) {
    api_key
    name
  }
}

📘

The api_key field can only be returned from the createApiKey function and cannot be returned after that

API Keys can now be temporarily disabled using the active field.

mutation {
  updateApiKey(name: "POWER_USER", api_key: {
    active: false
  }) {
    name
    active
  }
}