[#334] Add auth doc #336

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

close #334

close #334
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`.
Owner

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
Owner

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
Owner

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
No description provided.