[#334] Add auth doc #336

Merged
alexvanin merged 1 commits from dkirillov/frostfs-s3-gw:feature/334-add_auth_doc into master 2024-03-25 11:13:06 +00:00
Collaborator

close #334

close #334
dkirillov added 1 commit 2024-03-16 09:43:54 +00:00
/ DCO (pull_request) Failing after 9s Details
/ Builds (1.20) (pull_request) Successful in 2m10s Details
/ Builds (1.21) (pull_request) Successful in 1m44s Details
/ Vulncheck (pull_request) Failing after 2m33s Details
/ Lint (pull_request) Successful in 5m19s Details
/ Tests (1.20) (pull_request) Successful in 3m13s Details
/ Tests (1.21) (pull_request) Successful in 3m14s Details
f0a5358139
[#334] Add auth doc
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
dkirillov force-pushed feature/334-add_auth_doc from f0a5358139 to 58326b5406 2024-03-16 09:44:49 +00:00 Compare
dkirillov requested review from storage-services-committers 2024-03-16 09:45:36 +00:00
dkirillov requested review from storage-services-developers 2024-03-16 09:45:38 +00:00
dkirillov force-pushed feature/334-add_auth_doc from 58326b5406 to 5f5eb72605 2024-03-18 11:55:18 +00:00 Compare
alexvanin reviewed 2024-03-20 12:18:48 +00:00
@ -0,0 +267,4 @@
* If no rules were matched return `deny` status.
To local and contract policies `deny first` scheme is applied. This means that if several rules were matched for
reqeust (with both statuses `allow` and `deny`) the resulting status be `deny`.

Add a little more details about the way S3 Gateway creates request context to pass it to APE.

Add a little more details about the way S3 Gateway creates request context to pass it to APE.
alexvanin marked this conversation as resolved
alexvanin reviewed 2024-03-20 12:36:14 +00:00
@ -0,0 +88,4 @@
content to FrostFS S3 directly from the browser. For information about authenticating POST requests,
see [Browser-Based Uploads Using POST (AWS Signature Version 4)](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-UsingHTTPPOST.html).
#### Introduction to Signing Requests

This part is focused on the way how request is signed. It is useful for the client, but we want to emphasize here how Gateway validates this signature.

Can we be a bit more explicit down there and in AccessBox section, how gateway uses accessbox fields to re-create signature from the request and compare it. Let's focus more on this process.

This part is focused on the way how request is signed. It is useful for the client, but we want to emphasize here how Gateway validates this signature. Can we be a bit more explicit down there and in `AccessBox` section, how gateway uses accessbox fields to re-create signature from the request and compare it. Let's focus more on this process.
alexvanin marked this conversation as resolved
alexvanin reviewed 2024-03-20 12:39:01 +00:00
@ -0,0 +119,4 @@
##### Signature Calculations for the Authorization Header
o calculate a signature, you first need a string to sign. You then calculate a HMAC-SHA256 hash of the string to sign by

To calculate...

`To calculate...`
alexvanin marked this conversation as resolved
dkirillov force-pushed feature/334-add_auth_doc from 5f5eb72605 to 94bd1dfe28 2024-03-21 09:13:00 +00:00 Compare
alexvanin approved these changes 2024-03-25 11:12:48 +00:00
alexvanin merged commit 94bd1dfe28 into master 2024-03-25 11:13:06 +00:00
alexvanin deleted branch feature/334-add_auth_doc 2024-03-25 11:13:06 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-services-developers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-s3-gw#336
There is no content yet.