From f2018a2d90ce35ad876e00fea62bd1f3a4a87bec Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Fri, 16 Jul 2021 12:09:07 +0300 Subject: [PATCH 1/4] [#165] README: Add "upload of a dir" section Signed-off-by: Alex Vanin --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 768587108..62cce920a 100644 --- a/README.md +++ b/README.md @@ -392,6 +392,14 @@ $ 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: From 2137e43cffa6d44aecf7451bb4b6b10aeeaa9f3e Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Fri, 16 Jul 2021 12:11:00 +0300 Subject: [PATCH 2/4] [#165] README: Use secp256r1 public keys in examples Signed-off-by: Alex Vanin --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 62cce920a..e54a4977e 100644 --- a/README.md +++ b/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"}}' From 8e8487de853e7911772d0cea1e4f79fd64d6bcd9 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Fri, 16 Jul 2021 13:16:52 +0300 Subject: [PATCH 3/4] [#165] README: Fix "Download of a file" example Signed-off-by: Alex Vanin --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e54a4977e..fbf6d3153 100644 --- a/README.md +++ b/README.md @@ -404,9 +404,11 @@ $ aws s3 sync %DIRPATH s3://%BUCKET_NAME 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: ``` From aa2d3a222bb4159582d8791142606ffc074210b4 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Fri, 16 Jul 2021 12:43:10 +0300 Subject: [PATCH 4/4] [#165] CHANGELOG: Update for v0.16.0 release Signed-off-by: Alex Vanin --- CHANGELOG.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d310bffd..84f5ba694 100644 --- a/CHANGELOG.md +++ b/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