No description
Find a file
2023-01-09 09:22:13 +07:00
.config server: add secure redirect option 2022-12-07 14:49:17 +07:00
.github/workflows ci: initial files 2022-12-06 20:33:43 +07:00
.vscode all: initial files 2022-12-05 03:48:53 +07:00
docker server: add secure redirect option 2022-12-07 14:49:17 +07:00
.dockerignore all: initial files 2022-12-05 03:48:53 +07:00
.drone.yml all: initial files 2022-12-05 03:48:53 +07:00
.env.example all: support Storj via libuplink 2023-01-09 09:22:13 +07:00
.gitignore server: custom redirect status code and expiration 2022-12-24 04:46:10 +07:00
.goreleaser.yml ci: initial files 2022-12-06 20:33:43 +07:00
Dockerfile ci: initial files 2022-12-06 20:33:43 +07:00
Dockerfile.dev ci: initial files 2022-12-06 20:33:43 +07:00
go.mod all: support Storj via libuplink 2023-01-09 09:22:13 +07:00
go.sum all: support Storj via libuplink 2023-01-09 09:22:13 +07:00
LICENSE all: initial files 2022-12-05 03:48:53 +07:00
main.go all: support Storj via libuplink 2023-01-09 09:22:13 +07:00
Makefile ci: initial files 2022-12-06 20:33:43 +07:00
obs.go all: support Storj via libuplink 2023-01-09 09:22:13 +07:00
obs_s3.go all: support Storj via libuplink 2023-01-09 09:22:13 +07:00
obs_s3_test.go all: support Storj via libuplink 2023-01-09 09:22:13 +07:00
obs_storj.go all: support Storj via libuplink 2023-01-09 09:22:13 +07:00
obs_storj_test.go all: support Storj via libuplink 2023-01-09 09:22:13 +07:00
README.md all: support Storj via libuplink 2023-01-09 09:22:13 +07:00
server.go all: support Storj via libuplink 2023-01-09 09:22:13 +07:00
server_s3.go all: support Storj via libuplink 2023-01-09 09:22:13 +07:00
server_storj.go all: support Storj via libuplink 2023-01-09 09:22:13 +07:00
util.go all: initial files 2022-12-05 03:48:53 +07:00
util_test.go all: initial files 2022-12-05 03:48:53 +07:00

obs-access-signer

S3 Object Storage access signer.

Run obs-access-signer behind a gateway/cache proxy is preferred as the response is static (See "Why?" section).

There's an example of using it with Varnish Cache, which you can see here.

Why?

Some S3-compatible gateways might not support ACL endpoints but they support presigned access. Currently, the behavior of obs-access-signer is similar to public-read ACL where clients can access objects anonymously and redirect them (permanently) to presigned URL with Expires set to the max signed value of int64 which has roughly 250yrs lifetime since UNIX time started.

Update: starting at v0.0.3, obs-access-signer supports custom redirection status code and expiry.

Update: starting at v0.0.4, obs-access-signer supports libuplink, we can use this feature by specifying SERVER_MODE=storj on the environment variable OR -server=storj CLI flag.

License

Apache-2.0