forked from TrueCloudLab/frostfs-s3-gw
commit
56375a0946
2 changed files with 49 additions and 3 deletions
36
CHANGELOG.md
36
CHANGELOG.md
|
@ -2,6 +2,42 @@
|
|||
|
||||
This document outlines major changes between releases.
|
||||
|
||||
## 0.16.0 (16 Jul 2021)
|
||||
|
||||
With this release we publish S3 gateway source code. It includes various S3
|
||||
compatibility improvements, support of bucket management, unified secp256r1
|
||||
cryptography with NEP-6 wallet support.
|
||||
|
||||
### Fixed
|
||||
* Allowed no-sign request (#65).
|
||||
* Bearer token attached to all requests (#84).
|
||||
* Time format in responses (#133).
|
||||
* Max-keys checked in ListObjects (#135).
|
||||
* Lost metadat in the objects (#131).
|
||||
* Unique bucket name check (#125).
|
||||
|
||||
### Added
|
||||
* Bucket management operations (#47, #72).
|
||||
* Node-specific owner IDs in bearer tokens (#83).
|
||||
* AWS CLI usage section in README (#77).
|
||||
* List object paging (#97).
|
||||
* Lifetime for the tokens in auth-mate (#108).
|
||||
* Support of range in GetObject request (#96).
|
||||
* Support of NEP-6 wallets instead of binary encoded keys (#92).
|
||||
* Support of JSON encoded rules in auth-mate (#71).
|
||||
* Support of delimiters in ListObjects (#98).
|
||||
* Support of object ETag (#93).
|
||||
* Support of time-based conditional CopyObject and GetObject (#94).
|
||||
|
||||
### Changed
|
||||
* Accessbox is encoded in protobuf format (#48).
|
||||
* Authentication uses secp256r1 instead of ed25519 (#75).
|
||||
* Improved integration with NeoFS SDK and NeoFS API Go (#78, #88).
|
||||
* Optimized object put execution (#155).
|
||||
|
||||
### Removed
|
||||
* GRPC keepalive options (#73).
|
||||
|
||||
## 0.15.0 (10 Jun 2021)
|
||||
|
||||
This release brings S3 gateway to the current state of NeoFS and fixes some
|
||||
|
|
16
README.md
16
README.md
|
@ -285,8 +285,8 @@ Example of a command to issue a secret with custom rules for multiple gates:
|
|||
$ ./neofs-authmate issue-secret --wallet wallet.json \
|
||||
--peer 192.168.130.71:8080 \
|
||||
--bearer-rules '{"records":[{"operation":"PUT","action":"ALLOW","filters":[],"targets":[{"role":"OTHERS","keys":[]}]}]}' \
|
||||
--gate-public-key dd34f6dce9a4ce0990869ec6bd33a40e102a5798881cfe61d03a5659ceee1a64 \
|
||||
--gate-public-key 20453af9d7f245ff6fdfb1260eaa411ae3be9c519a2a9bf1c98233522cbd0156 \
|
||||
--gate-public-key 0313b1ac3a8076e155a7e797b24f0b650cccad5941ea59d7cfd51a024a8b2a06bf \
|
||||
--gate-public-key 0317585fa8274f7afdf1fc5f2a2e7bece549d5175c4e5182e37924f30229aef967 \
|
||||
--create-session-token \
|
||||
--session-rules '{"verb":"DELETE","wildcard":false,"containerID":{"value":"%CID"}}'
|
||||
|
||||
|
@ -392,13 +392,23 @@ $ aws s3api put-object --bucket %BUCKET_NAME --key %OBJECT_KEY --body %FILEPATH
|
|||
```
|
||||
where %OBJECT_KEY is a filename of an object in NeoFS
|
||||
|
||||
##### Upload of a dir
|
||||
|
||||
To upload the dir into a bucket in the NeoFS network, run the following command:
|
||||
|
||||
```
|
||||
$ aws s3 sync %DIRPATH s3://%BUCKET_NAME
|
||||
```
|
||||
|
||||
#### Download of a file
|
||||
|
||||
To download the file from a bucket in the NeoFS Network, execute:
|
||||
```
|
||||
$ aws s3api get-object --bucket %BUCKET_NAME --key %OBJECT_KEY
|
||||
$ aws s3api get-object --bucket %BUCKET_NAME --key %OBJECT_KEY %OUTFILE
|
||||
```
|
||||
|
||||
where %OUTFILE is a file to store object content.
|
||||
|
||||
#### Deletion of a file
|
||||
To delete the file:
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue