Commit graph

22 commits

Author SHA1 Message Date
Evgeniy Kulikov
06df8642b3 Simplify receiving object from NeoFS
- add function to receive object with payload
- simplify receiving object for layer.Get
- simplify receiving object for layer.objectGet

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-08-05 16:47:09 +03:00
Evgeniy Kulikov
a8c8bdaadf Add NeoFS helper to fetch object by refs.Address
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-08-03 18:08:55 +03:00
Evgeniy Kulikov
2731246239 Refactoring ObjectLayer
- simplify layer.Client
- refactoring neofs pool client

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-08-03 14:51:28 +03:00
Pavel Korotkov
ae66e4de61 Add throwing error for GetBearerToken method 2020-07-23 11:05:50 +03:00
Pavel Korotkov
916a216da5 Move user auth procedure to S3 API router; activate overall setting bearer tokens in neofs objects 2020-07-22 22:48:34 +03:00
Pavel Korotkov
57466b3db2 Add getting/setting bearer token at the auth package 2020-07-22 19:02:35 +03:00
Pavel Korotkov
1aa22329fa Add setting bearer token in container list method 2020-07-22 17:58:35 +03:00
Pavel Korotkov
24b19152c4 Remove aliasing 2020-07-21 12:58:53 +03:00
Pavel Korotkov
3870f59484 Rename GetNeoFSKey(Public/Private)Key to GetNeoFS(Public/Private)Key 2020-07-21 12:44:25 +03:00
Pavel Korotkov
d9b146628d Tune getting bearer token; prepare for passing through bearer token 2020-07-20 20:23:16 +03:00
Pavel Korotkov
3ff7028229 Add early support of auth middleware 2020-07-16 18:33:47 +03:00
Pavel Korotkov
aa28121466 Introduce a auth center + secure enclave in a separate package 2020-07-15 16:48:25 +03:00
Pavel Korotkov
d68347ff4d Add secure enclave 2020-07-15 13:01:22 +03:00
Evgeniy Kulikov
dd31b28ab7 Add logging to ObjectLayer.ListBuckets 2020-07-14 16:12:30 +03:00
Evgeniy Kulikov
b9c4156e5b Fix S3 NeoFS integration 2020-07-13 14:25:26 +03:00
Evgeniy Kulikov
1665c8e35e Rename cmd -> legacy 2020-07-09 12:28:51 +03:00
Pavel Korotkov
05aedee59e Add encrypt/decrypt logic 2020-07-08 14:16:48 +03:00
Pavel Korotkov
2a1a8aa379 Move auth file to layer; add RSA keys 2020-07-08 02:37:27 +03:00
Evgeniy Kulikov
5254fd943b Wrap gRPC errors 2020-07-07 14:31:55 +03:00
Evgeniy Kulikov
55a257f5ff Update to NeoFS API v1.1.0 2020-07-03 17:12:30 +03:00
Evgeniy Kulikov
d78a2c4488 Fix NeoFS Object Layer -> GetObjectNInfo 2020-07-03 17:10:18 +03:00
Evgeniy Kulikov
be43700e8f Add NeoFS ObjectLayer and connection pool 2020-07-03 16:58:49 +03:00