Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: lack of storage destination settings #41

Open
sevein opened this issue May 26, 2020 · 2 comments
Open

Problem: lack of storage destination settings #41

sevein opened this issue May 26, 2020 · 2 comments

Comments

@sevein
Copy link
Member

sevein commented May 26, 2020

In e9a3398, a3m learned to write to object storage given these settings. When undefined, packages are left in completed/{name}-{uuid}.{ext}.

It may also be preferably to support request-scoped settings, i.e. storage settings that are included within the transfer request. For example, object storage can be used to generated a pre-signed URL with write permissions that a3m could use to store the object after the AIP is generated (as long as the URL has not expired).

Related: #55.

@joel-simpson
Copy link

I agree it would be good to support this as an explicit input (aka request-scoped setting).

I wonder if there is even a case for making this the only way to provide instructions for storage destinations?

If you have to provide storage settings as configuration of a3m, you are sort of hiding user or use case specific details in the application. Demanding that every user request includes storage location makes this much more explicit (and perhaps closer to the goal of 'stateless'?)

@sevein
Copy link
Member Author

sevein commented Jul 30, 2020

When using object storage, it is possible to generate signed URLs with write access so you don't have to share actual credentials. Maximum signature expiry setting for these URLs is 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants