[#524] cli: Add impersonate flag for bearer token creation #524
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#524
Loading…
Reference in a new issue
No description provided.
Delete branch "dkirillov/frostfs-node:feature/cli-add_impersonate_flag_to_bearer_token"
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
[#XX] cli: Add impersonate flag for bearer token creationto WIP: [#XX] cli: Add impersonate flag for bearer token creationWIP: [#XX] cli: Add impersonate flag for bearer token creationto WIP: [#524] cli: Add impersonate flag for bearer token creation059a560ae5
to70d85101d8
WIP: [#524] cli: Add impersonate flag for bearer token creationto [#524] cli: Add impersonate flag for bearer token creation@ -46,3 +47,4 @@
createCmd.Flags().StringP(ownerFlag, "o", "", "Token owner")
createCmd.Flags().String(outFlag, "", "File to write token to")
createCmd.Flags().Bool(jsonFlag, false, "Output token in JSON")
createCmd.Flags().Bool(impersonateFlag, false, "Mark token as impersonate to consider token signer as request owner (mutually exclusive with --eacl flag)")
Mark token as impersonate to consider the token signer as the request owner
70d85101d8
tofd6b8336bc
@ -104,2 +108,4 @@
eaclPath, _ := cmd.Flags().GetString(eaclFlag)
if eaclPath != "" {
if impersonate {
Why not mark them as exclusive on a
cobra
level?fd6b8336bc
toec8a44f73c