Conversation
|
@pwinckles Thank you for such a quick turnaround! Happy to test and I did. Unfortunately, I'm receiving errors. If I do the following aws cli command, I get a list of items in the s3 bucket: If I do this in rocfl, then the following error occurs: |
|
@ives1227 Is that all of the output? I would have expected it to have scanned the repo for objects even if it couldn't load your storage layout. The errors it reported are two different problems:
That said, if this is a repository that you are also interacting with using ocfl-java, then you probably don't want to make these changes until after ocfl-java has been updated to support the adopted version of the extension, either officially or by updating your local implementation of the extension. Out of curiosity, do you ever use the config file to avoid having to specify so many options? |
|
@ives1227 Is your repository located in the bucket root or is it using a prefix? I almost always put repositories under a prefix, and I just noticed that there is a bug when you do not use a prefix, which could explain why you didn't see any objects listed earlier. The most recent commit to this PR should address the problem. |
|
@pwinckles our bucket is at root. Our ops team sets up the buckets and credentials and this is the way they choose to do it. To answer your question from #6 (comment):
I'm still receiving the same errors with the latest release. My suspicion is that we set up our repos differently. I have a work around for what I need this for but it would be nice to have it eventually. If I have time in the future, I'll see if I can help a bit more. |
Adds a new
--profileoption at the root level that allows an aws credentials profile to be specified. This option can also be specified in the config file.Example usage:
Resolves #5