DEV Community

Cover image for Reduct Storage v0.8.0 has been released
Alexey Timin for ReductStore

Posted on

Reduct Storage v0.8.0 has been released

Hey everyone, I'm proud to announce that Reduct Storage v0.8.0 was released yesterday. This release doesn't provide new features, but it has some improvements that are worth to be noticed.

DockerHub Hosting

We met a problem deploying the storage engine on a NAS device because it didn't work with the GitHub registry. Now, all releases are pushed to DockerHub additionally.

Preferable way to use the engine is:

docker run -p 8383:8383 -v ${PWD}/data:/data reductstorage/engine:latest
Enter fullscreen mode Exit fullscreen mode

Simple Bearer Token Authentication

Previously, a client had to ask an access token by using an API token and the GET /auth/refresh endpoint:

# Take a temporal access token by using the API token
curl -X POST --header "Authorization: Bearer ${API_TOKEN}" -a https://play.reduct-storage.dev/auth/refresh

# Create a bucket
curl -d "{\"quota_type\":\"FIFO\", \"quota_size\":10000}" \
  -X POST \
  --header "Authorization: Bearer ${ACCESS_TOKEN}"   \
  -a https://play.reduct-storage.dev/b/my_data
Enter fullscreen mode Exit fullscreen mode

The issue with this approach is described here.

Now, GET /auth/refresh is deprecated, and the preferable approach is:

# Take a temporal access token by using the API token
export API_TOKEN=reduct

# Create a bucket
curl -d "{\"quota_type\":\"FIFO\", \"quota_size\":10000}" \
  -X POST \
  --header "Authorization: Bearer ${API_TOKEN}"   \
  -a https://play.reduct-storage.dev/b/my_data

Enter fullscreen mode Exit fullscreen mode

Top comments (0)