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?
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
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Add documentation on api-02 features https://psich.atlassian.net/browse/DATACGRP-1005
@@ -672,6 +694,45 @@ whenever necessary. In future in addition an automated publicationafter the embargo period (default 3 years after data taking) will beimplemented (details to be defined)### Retrieving published datausing s3 clients works also for non public DS I guess? Would it make sense to add an explanation for that too?
right now, it is not possible. The
readoption in s3-broker https://scicat-s3-broker.psi.ch/docs/index.html#/default/get_datasets_s3_creds issues short term creds for thepsi-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?
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
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.