[#292] authmate: Support custom attributes #293
No reviewers
Labels
No Label
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 Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#293
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "dkirillov/frostfs-s3-gw:feature/support_custom_attributes_in_authmate"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
close #292
WIP: [#XX] authmate: Support custom attributesto WIP: [#292] authmate: Support custom attributesd2d40ec322
to05ced675e4
WIP: [#292] authmate: Support custom attributesto [#292] authmate: Support custom attributes@ -44,6 +44,7 @@ func initUpdateSecretCmd() {
updateSecretCmd.Flags().String(frostfsIDProxyFlag, "", "Proxy contract hash (LE) or name in NNS to use when interact with frostfsid contract")
updateSecretCmd.Flags().String(frostfsIDNamespaceFlag, "", "Namespace to register public key in frostfsid contract")
updateSecretCmd.Flags().String(rpcEndpointFlag, "", "NEO node RPC address")
updateSecretCmd.Flags().String(attributesFlag, "", "User attributes in form of Key1=Value1,Key2=Value2 (note: you cannot override system attributes)")
In the future, I suggest to use different approach to handle slice of strings, by using
Flags().StringArray()
. I think it's better to pass multiple values by repeating flag and avoid splitting by symbol.In this PR it makes sense to keep compatibility with attributes of frostfs-cli command.
@ -51,2 +60,4 @@
// Object payload.
Payload []byte
// CustomAttributes are additional user provided attributes for bog object.
Seems it has typo
05ced675e4
toeae49908da