fair-research / bdbag

Big Data Bag Utilities
https://fair-research.org
Apache License 2.0
49 stars 23 forks source link

Globus setup documentation missing? #50

Open craig-willis opened 2 years ago

craig-willis commented 2 years ago

I'm trying to configure bdbag to fetch via Globus for Whole Tale bags that have been downloaded to a user's local system. Looking at https://github.com/fair-research/bdbag/blob/master/doc/config.md, I see that I need a keychain.json, but it's not clear how the average user would configure this on their local system.

Here's what I have working so far. It seems a bit complex, so I'm hoping there's a more straightforward way:

[
    {
        "uri": "globus://",
        "auth_type": "globus_transfer",
        "auth_params": {
            "local_endpoint": "<local endpoint ID>",
            "transfer_token": "<access token from sqlite3 query>"
        }
    }
]

I'm happy to contribute a documentation PR. The basic requirements seem to be: