Hi all,
We have a use case where we would love to distribute data from CERN EOS via HTTP, with authorization controlled with macaroons (so we wouldn’t have to worry about user account mapping and credential distribution on the clients). At the moment it appears that we need to provide an Authorization: Bearer xxx header in the HTTP request since it doesn’t seem like we can embed the macaroon as a query string in the case of EOS. Is there a way to provide this information to TFile::Open on a file-by-file basis? Using the BEARER_TOKEN environment variable would presumably work as a one-off but this really has a different use case (and isn’t really appropriate if we have a bunch of different macaroons).
Thanks,
Peter