Created Middleware alias blobstore (markdown)

master
Timur Alperovich 2021-09-11 22:36:19 -07:00
rodzic c331333c0d
commit 056780d0de
1 zmienionych plików z 8 dodań i 0 usunięć

@ -0,0 +1,8 @@
S3Proxy can use an alias for a backend container. This may be helpful to preserve bucket names when switching backends, for example. The alternate name can be specified as follows:
```
s3proxy.alias-blobstore.content=backend-data
```
In the above example, requests for the bucket `content` are redirected to `backend-data`. This does not preclude using the name `backend-data`, however, when listing buckets `backend-data` bucket is replaced with `content` in the listing.
S3Proxy does not allow mapping multiple aliases to the same backend bucket. Future work could expand this middleware to include a prefix, allowing a subset of a bucket to appear as a bucket to the S3Proxy clients.