Support new FrostFS ID contract #260
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#260
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After TrueCloudLab/frostfs-contract#48 support new FrostFS ID contract in the S3 Gateway. Add new configuration flag (enabled by default), to check if access box key is registered in FrostFS ID contract. Use checks for bucket-related operations and ignore it for object-related operations, because:
Update authmate with optional flag to register private key in FrostFS ID contract.
Fetch namespace from FrostFS ID subject.Edit 1: This approach restricts inter-namespace communication. Such communication is valid, so fetch namespace from the HTTP header which can be set by proxy server for specific namespace. Configure HTTP header key in config file.
Use namespace during bucket resolving:
root
namespace should be converted in.container
NNS zone as before,@dkirillov I updated the issue, please change namespace fetching mechanism.