[#414] authmate: Support setting policy chain #414
No reviewers
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#414
Loading…
Reference in a new issue
No description provided.
Delete branch "dkirillov/frostfs-s3-gw:poc/new_authmate"
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?
Signed-off-by: Denis Kirillov d.kirillov@yadro.com
WIP: [#XX] authmate: Support setting policy chainto WIP: [#414] authmate: Support setting policy chaindc3105bd44
toe02958dcab
WIP: [#414] authmate: Support setting policy chainto [#414] authmate: Support setting policy chainLooks great, tested it with frostfs-aio. Consider some naming changes in this PR.
@ -0,0 +42,4 @@
const walletContractPassphraseCfg = "wallet.contract.passphrase"
func initRegisterUserCmd() {
registerUserCmd.Flags().String(walletFlag, "", "Path to the wallet that will be owner of the credentials")
More like
Path to the wallet with account of the user that will be registered in FrostFS ID contract?
@ -0,0 +43,4 @@
func initRegisterUserCmd() {
registerUserCmd.Flags().String(walletFlag, "", "Path to the wallet that will be owner of the credentials")
registerUserCmd.Flags().String(addressFlag, "", "Address of the wallet account")
Maybe
Address of the user wallet that will be registered in FrostFS ID contract
@ -0,0 +47,4 @@
registerUserCmd.Flags().String(frostfsIDContractFlag, "frostfsid.frostfs", "FrostfsID contract hash (LE) or name in NNS to register public key in contract")
registerUserCmd.Flags().String(proxyContractFlag, "proxy.frostfs", "Proxy contract hash (LE) or name in NNS to use when interact with frostfsid contract")
registerUserCmd.Flags().String(namespaceFlag, "", "Namespace to register public key in frostfsid contract and add policy chains")
registerUserCmd.Flags().String(frostfsIDNameFlag, "", "Subject name to set for public key in frostfsid contract")
Can we just call it a
--name
or--username
?We also don't use
subject
term much here, so I would stick withuser
or usesubject
everywhere else.e02958dcab
to70eedfc077