Skip to content

Commit 74efa61

Browse files
author
Github aggregate action
committed
Update from neicnordic/sensitive-data-archive at 07:56 on 2026-02-16
1 parent 101f969 commit 74efa61

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

docs/dictionary/wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ roleBinding
308308
rolebinding
309309
rolename
310310
rootedfilesystem
311+
rotatekey
311312
routingError
312313
routingkey
313314
rsa

docs/services/api.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,38 @@ Admin endpoints are only available to a set of whitelisted users specified in th
182182
curl -H "Authorization: Bearer $token" -X PUT https://HOSTNAME/dataset/verify/my-dataset-01
183183
```
184184

185+
- `/dataset/rotatekey/:dataset`
186+
- accepts `POST` requests with the dataset name as parameter
187+
- Triggers key rotation for all files in the dataset by sending a message to the rotatekey queue for each file.
188+
189+
- Error codes
190+
- `200` Key rotation triggered successfully.
191+
- `400` Dataset ID not provided.
192+
- `401` Token user is not in the list of admins.
193+
- `500` Internal error due to DB or MQ failures.
194+
195+
Example:
196+
197+
```bash
198+
curl -H "Authorization: Bearer $token" -X POST https://HOSTNAME/dataset/rotatekey/my-dataset-01
199+
```
200+
201+
- `/file/rotatekey/:fileid`
202+
- accepts `POST` requests with the file ID as parameter
203+
- Triggers key rotation for the specified file by sending a message to the rotatekey queue.
204+
205+
- Error codes
206+
- `200` Query execute ok.
207+
- `400` File ID not provided or message validation failed.
208+
- `401` Token user is not in the list of admins.
209+
- `500` Internal error due to MQ or DB failures.
210+
211+
Example:
212+
213+
```bash
214+
curl -H "Authorization: Bearer $token" -X POST https://HOSTNAME/file/rotatekey/c2acecc6-f208-441c-877a-2670e4cbb040
215+
```
216+
185217
- `/datasets/list`
186218
- accepts `GET` requests
187219
- Returns all datasets together with their status and last modified timestamp.

0 commit comments

Comments
 (0)