Project

General

Profile

Actions

Feature #21910

closed

Remove api_clients APIs and api_client_id field

Added by Tom Clegg 5 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Story points:
-
Release:
Release relationship:
Auto

Description

Background

The api_clients table and api_client_id field were originally intended to restrict certain operations to more-trusted clients, like the cluster's own Workbench. However, in practice this mechanism has just made initial cluster setup more finicky, and made some token checking queries less efficient.

The TrustedClients config has made the api_clients.is_trusted mechanism redundant.

Proposed improvement

Delete the api_clients table and api_client_authorizations.api_client_id column.

(This is made awkward by the fact that tests and install docs still rely on api_client_id to decide whether to add a new token or use an existing one, etc.)


Subtasks 2 (0 open2 closed)

Task #21913: Design discussion & proposalResolved07/03/2024Actions
Task #21977: Review 21910-remove-api_client_idResolvedTom Clegg08/14/2024Actions

Related issues

Related to Arvados - Feature #15397: Declutter the APIResolvedTom CleggActions
Actions

Also available in: Atom PDF