garage-bootstrap: let asxpio write to the public bucket
All checks were successful
Deploy storage stack / deploy (push) Successful in 19s
All checks were successful
Deploy storage stack / deploy (push) Successful in 19s
asxpio's admin is getting a page for uploading files meant for public use. They belong in the public bucket, which so far only the public-upload key could write to. Grant asxpio's existing key put and delete there instead of handing the app a second set of credentials. Write-only is enough: the app keeps its own index of what it uploaded and never reads the objects back. Assisted-by: Claude:fable-5-2
This commit is contained in:
parent
cc3405fe34
commit
25ad601754
2 changed files with 4 additions and 1 deletions
|
|
@ -32,7 +32,8 @@ Garage answers no anonymous S3 request. `public` is marked as a website
|
|||
instead, and Traefik sends unsigned GET/HEAD of
|
||||
`https://s3.asxp.io/public/<key>` to Garage's web endpoint. Anyone who knows a
|
||||
key can read it; nobody can list the bucket. Uploading needs the uploader key
|
||||
(see `SECRETS.md`).
|
||||
(see `SECRETS.md`) or asxpio's key, which may put and delete there for its
|
||||
admin's file uploads.
|
||||
|
||||
## Looking inside
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue