add documentation on s3-transfer cli option, and published dataset retrieve #27

Merged
zade_o merged 1 commits from api02-features into main 2026-11-24 13:16:31 +01:00
Owner

Add documentation on api-02 features https://psich.atlassian.net/browse/DATACGRP-1005

Add documentation on api-02 features https://psich.atlassian.net/browse/DATACGRP-1005
zade_o added 1 commit 2026-11-24 10:35:50 +01:00
add documentation on s3-transfer cli option, and published dataset retrieve
Lint markdown files / run-markdownlint (pull_request) Successful in 4s
Build and deploy documentation / build-docs (pull_request) Successful in 27s
Build and deploy documentation / deploy-docs (pull_request) Skipped
ce68113531
zade_o requested review from Owners 2026-11-24 10:38:41 +01:00
@@ -672,6 +694,45 @@ whenever necessary. In future in addition an automated publication
after the embargo period (default 3 years after data taking) will be
implemented (details to be defined)
### Retrieving published data
Owner

using s3 clients works also for non public DS I guess? Would it make sense to add an explanation for that too?

using s3 clients works also for non public DS I guess? Would it make sense to add an explanation for that too?
Author
Owner

right now, it is not possible. The read option in s3-broker https://scicat-s3-broker.psi.ch/docs/index.html#/default/get_datasets_s3_creds issues short term creds for the psi-retrieve-* buckets, which are supposed to be used for untarred retrieve of private DS's in the future (ceph-s3-notes).

The current URL retrieve for private DS's just sends pre-signed URLs via email. The DS's are in psi-download-* bucket.
We can make a small change to s3-broker and let it also issue short term credentials for psi-download-* bucket. Then one could configure rclone / AWS SDK with the credential_process client.

But currently there's no use case for this.

If e.g. Renku would also mount private DS's, then this would become useful.

Should we still add something to the docs?

right now, it is not possible. The `read` option in s3-broker https://scicat-s3-broker.psi.ch/docs/index.html#/default/get_datasets_s3_creds issues short term creds for the `psi-retrieve-*` buckets, which are supposed to be used for untarred retrieve of private DS's in the future ([ceph-s3-notes](https://gitea.psi.ch/data-catalog-services/ceph-s3-notes/#ceph-s3-profiles)). The current URL retrieve for private DS's just sends pre-signed URLs via email. The DS's are in `psi-download-*` bucket. We can make a small change to s3-broker and let it also issue short term credentials for `psi-download-*` bucket. Then one could configure rclone / AWS SDK with the [credential_process](https://github.com/paulscherrerinstitute/scicat-s3-broker/blob/main/cmd/client/credential_process.go) client. But currently there's no use case for this. If e.g. Renku would also mount private DS's, then this would become useful. Should we still add something to the docs?
Owner

ah I see. I think this would be useful in general as it would enable users to use s3 clients on private retrieves, which would unblock multipart downloads and recovery. But it's true it's not implemented. Maybe this should go as a comment either in the s3 code or in the private docs you put together? I agree here is not the right place

ah I see. I think this would be useful in general as it would enable users to use s3 clients on private retrieves, which would unblock multipart downloads and recovery. But it's true it's not implemented. Maybe this should go as a comment either in the s3 code or in the private docs you put together? I agree here is not the right place
Author
Owner

Good point. I've added this to the private docs here (commit), and opened https://github.com/paulscherrerinstitute/scicat-s3-broker/issues/55 in scicat-s3-broker, which documents the missing pieces needed to support this.

Good point. I've added this to the private docs [here](https://gitea.psi.ch/data-catalog-services/ceph-s3-notes/#access-for-users-without-the-ceph-credentials) ([commit](https://gitea.psi.ch/data-catalog-services/ceph-s3-notes/commit/c211239b7f58e37d1bb01c204fb0aedbe9c2213c)), and opened https://github.com/paulscherrerinstitute/scicat-s3-broker/issues/55 in scicat-s3-broker, which documents the missing pieces needed to support this.
minotti_c marked this conversation as resolved
minotti_c approved these changes 2026-11-24 11:20:18 +01:00
zade_o merged commit 56f21f2b8d into main 2026-11-24 13:16:31 +01:00
zade_o deleted branch api02-features 2026-11-24 13:16:31 +01:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: data-catalog-services/gitea-pages#27