proTES¶
proTES is a gateway for GA4GH TES services. It receives task requests, applies middleware (plugins) and forwards each task to one of the TES services that it knows.
Role in the deployment¶
proTES sits in front of the Nodes' TES services: clients send their tasks to proTES, and proTES distributes them to the Nodes. It can read the verified TES services of a Cloud Registry, so that a new Node is used once it is registered and verified; the ELIXIR On-Cloud's proTES lists its TES services in its configuration instead (see below). Register a proTES that you deploy in the Cloud Registry like any other TES service, and end every upgrade or change of it by updating its entry, or checking that sync did (see After a deployment or an upgrade).
Docs¶
- proTES docs
- Deployment (Helm chart)
- Configuration, including the discovery of TES services in a Cloud Registry
- Plugins
In the ELIXIR On-Cloud¶
As of November 2026:
| What | Value |
|---|---|
| Address | TES API at https://gateway-tes.elixir-on.cloud/ga4gh/tes/v1 (the host itself has no page); the old address protes.rahtiapp.fi keeps working |
| Version | since 1 December 2026, the v0.8.0 release, pinned by digest (see Configuration); since 2 December 2026, Pubgrade rolls out its patch releases (0.8.x) automatically. From 29 November 2026 to the upgrade, an image of the dev branch at commit 8e31da3 |
| Access | LS Login access tokens of members of the group ECP_CLN:EOC-Compute, issued to a client that it accepts, such as Krini's (see Researchers). Members of ECP_CLN:ADMIN can't create tasks: admins who run tasks join ECP_CLN:EOC-Compute (see the role admin below) |
| LS Login client | client ID 7c0c1fc0-e8ca-47d6-a9b2-bdc843961146, issuer https://login.aai.lifescience-ri.eu/oidc/: a TES service behind proTES lists this client ID and accepts it as audience (see Access control for compute) |
| Environment | test; its service info calls it "ELIXIR On-Cloud TES Gateway" |
| TES services | listed in its configuration and in the backends of its service info: the TESK of the FI Node, at CSC (https://tesk.rahtiapp.fi), and the TESK of the CZ Node, at CERIT-SC (https://tesk.dyn.cloud.e-infra.cz), which proTES calls with an LS Login token of its own client since 26 November 2026 (generic-issues#111); since 29 November 2026, also the Poiesis of the FI Node (https://poiesis.rahtiapp.fi) and of the CZ Node (https://poiesis.dyn.cloud.e-infra.cz), which proTES calls with an API key (generic-issues#163) |
| Discovery in the Cloud Registry | off |
A Node's TES service is added to the configuration when its admins ask for
it and the service requires LS Login tokens (see Get added behind the
gateway).
The service info of proTES (GET /ga4gh/tes/v1/service-info) lists the TES
services that it uses.
From proTES 0.8.0, the gateway can pass the identity of the user who submitted a task to the TES services of the Nodes, as task tags, for accounting and audit. It isn't switched on in this deployment yet. What it passes, to whom and why is in Identity of submitters at the Nodes.
Configuration¶
The effective configuration of the ELIXIR On-Cloud's proTES, as of 18 November 2026, of 1 December 2026 for the deployment and the roles, and of 29 November 2026 for its TES services (see Access control in the proTES 0.8.0 docs for what the roles may do):
| Setting | Value |
|---|---|
| Deployment | since 1 December 2026 (Helm revision 18): the chart and image of the v0.8.0 release on CSC's Rahti, image elixircloud/protes:0.8.0@sha256:bf1e689a21f3e13091a853c29974762b8a9edd538a1369783c0cf13e4355962b (signed by proTES' release workflow), with MongoDB 7.0 and RabbitMQ 4.3 from the chart. Before: the chart in deployment/ of the dev commit 8e31da3 with its image (Helm revisions 16 and 17, from 29 November 2026) |
| Token issuer | LS Login only: https://login.aai.lifescience-ri.eu/oidc/ |
| Audience | the LS Login clients of Krini and of the Cloud Registry UI |
| Groups | read from LS Login's userinfo endpoint, claim eduperson_entitlement |
Role user |
urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:EOC-Compute#aai.lifescience-ri.eu: create tasks, list and read the plugins |
Role admin |
urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:ADMIN#aai.lifescience-ri.eu: the resource usage per user, the execution reports and the provenance of all tasks, none of them with task content. Since 25 November 2026, no added rule gives it the rights of user: only members of ECP_CLN:EOC-Compute may create tasks (see Access control for compute), so admins who run tasks join ECP_CLN:EOC-Compute. Since 1 December 2026 (proTES 0.8.0), FOCA's permissions API is off: /admin/access-control/permissions returns 404, so nobody can make themselves the owner of another user's task |
| Other tokens | valid tokens without either group get 403 Forbidden when they create tasks or use plugins, and see only their own tasks (none, unless their user created tasks before leaving ECP_CLN:EOC-Compute); the service info is public |
| Own tasks | only the user who created a task can list, read and cancel it, also after leaving ECP_CLN:EOC-Compute; admins can read the provenance of any task, not the task |
| TES services | since 26 November 2026: the TESK of the FI Node at https://tesk.rahtiapp.fi and the TESK of the CZ Node at https://tesk.dyn.cloud.e-infra.cz, both with auth: client_credentials (a token of proTES' own LS Login client, client ID above); since 29 November 2026: the Poiesis of the FI Node at https://poiesis.rahtiapp.fi and of the CZ Node at https://poiesis.dyn.cloud.e-infra.cz, both with auth: api_key (see API keys for Poiesis) |
| Plugins | none configured (the service info lists no capabilities) |
LS Login releases only the groups assigned to the client's facility, so a
new client that should reach proTES needs ECP_CLN:EOC-Compute (and
ECP_CLN:ADMIN, for the role admin) assigned to its facility and its
client ID added to the audience (see LS Login).
The mapping matches the subgroup values, not the parent group ECP_CLN:
members of a subgroup carry the parent value only if the parent group is
assigned to the facility of the token's client, too
(generic-issues#46). Members of other ECP_CLN subgroups get no
role.
proTES has an LS Login client of its own (client ID above). Since 26 November 2026, it sends a token of that client (OAuth 2.0 client credentials) to both TESKs, which require LS Login tokens (generic-issues#111, generic-issues#138).
API keys for Poiesis¶
Poiesis doesn't accept the tokens of proTES' own LS Login client: it checks
the group ECP_CLN:EOC-Compute, which client-credentials tokens don't
carry, and its maintainers declined a mode for service clients
(JaeAeich/poiesis#208). It accepts API keys instead (see
Poiesis). So proTES calls each Poiesis with an API key of its
own (auth: api_key, see API keys of TES instances in
the proTES docs), sent as Authorization: Bearer <key>:
| What | Value |
|---|---|
| Keys | one per Poiesis, never shared: protes-gateway-fi-<yyyymmdd> at the FI Node, protes-gateway-cz-<yyyymmdd> at the CZ Node, scopes tasks:read and tasks:write |
| Owner | the LS Login account of the gateway's maintainer (uniqueg), a member of ECP_CLN:EOC-Compute, who minted the keys with a Krini token (Poiesis lets only Krini's tokens mint keys). The ELIXIR On-Cloud has no functional LS Login accounts |
| Lifetime | 90 days, the longest Poiesis allows; the current keys, minted on 28 November 2026, expire on 26 February 2027 at 23:31 UTC |
| Storage | the Kubernetes Secrets protes-poiesis-fi-api-key and protes-poiesis-cz-api-key (data key api-key) in the protes namespace; the chart passes them to the app and the worker as TES_POIESIS_FI_API_KEY and TES_POIESIS_CZ_API_KEY. The annotations of each Secret name the key's ID, owner and expiry, never the key |
| Until | proTES exchanges the tokens of its users for tokens of each TES service (OAuth 2.0 token exchange, proTES#501); then the keys are revoked |
What this means:
- Poiesis sees every task that proTES sends to it as a task of the key's owner. Users still see only their own tasks in proTES, but the quotas, accounting and access control of Poiesis apply to the owner's account, and anyone with access to that account at Poiesis sees all of these tasks.
- A key keeps the groups of its owner as of minting until it expires or is
revoked. If the owner leaves
ECP_CLN:EOC-Compute, mint new keys with another member's account and put them in place (see the rotation below), then revoke the old keys. Tasks sent with an old key belong to the old owner at Poiesis: the new key can't read or cancel them, so revoke the old keys only once those tasks have finished, or accept that proTES loses track of them. - An expired or revoked key gets
401 Unauthorizedat its Poiesis. proTES then sends new tasks to the other TES services (a task pinned to that Poiesis fails), and can't track or cancel the tasks at that Poiesis until it has a valid key.
To rotate a key, at the latest two weeks before it expires:
- Mint a new key at that Poiesis with a Krini token of the owner, with the same scopes and 90 days (see API keys in the Poiesis docs).
-
Replace the key in its Secret, keeping the Secret's metadata, and update the annotations that name the key's ID and expiry, for example:
kubectl patch secret protes-poiesis-fi-api-key -n protes \ --type merge --patch-file <PATCH> kubectl annotate secret protes-poiesis-fi-api-key -n protes \ --overwrite <ANNOTATIONS>where
<PATCH>is a file that holds{"stringData": {"api-key": "<the new key>"}}and<ANNOTATIONS>the annotations of the new key (<name>=<value>). Delete the file afterwards. -
Restart the app and the worker, which read the key at start, and wait until both have rolled out, so that no pod uses the old key:
-
Send a task pinned to that Poiesis through proTES (see Pinning tasks to a TES instance in the proTES docs) and check that it completes.
- Revoke the old key at Poiesis (
DELETE /poiesis/v1/api-keys/<KEY_ID>with the owner's token).
If a key leaks, revoke it at its Poiesis first, then rotate it.
To roll back, that is, to take both Poiesis out of the gateway:
- Remove the two Poiesis from the TES instances of proTES' configuration
(see TES instances in the proTES docs) and
upgrade the release, or roll the Helm release back to the revision
before the Poiesis were added (
helm historyandhelm rollbackin theprotesnamespace). The deployment before ran the v0.7.0 release, which has no API keys. - Check that the service info of proTES lists only the TESKs under
backends. - Revoke both keys at their Poiesis once the tasks sent with them have finished: proTES no longer tracks them.
- Update this page and Poiesis.