mirror of
https://github.com/nspcc-dev/neofs-s3-gw.git
synced 2026-03-01 04:29:15 +00:00
Change behaviour of authmate for session tokens. #162
Labels
No labels
I2
I2
I3
I4
S2
S3
S4
S4
U0
U1
U2
U2
U3
U4
U4
auth-mate
blocked
bug
config
dependencies
discussion
documentation
enhancement
epic
feature
go
good first issue
help wanted
performance
question
security
test
tree-service
tree-service
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-s3-gw#162
Loading…
Add table
Add a link
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?
Originally created by @masterSplinter01 on GitHub (Jan 31, 2022).
Originally assigned to: @masterSplinter01 on GitHub.
For creating and putting session tokens we have two params:
--create-session-tokenand--session-rules.When only the first parameter is set it means "create session tokens with default rules",
when both of them are set it means "create session token with custom rules",
when only the second parameter is set, authmate prints
Warning: rules for session token were set but --create-session flag wasn't, so session token was not createdand creates a box with bearer token but without session tokes. It seems annoying, because most likely the user wanted to create session tokens but forgot to write the flag--create-session-token.Also two params seem redundant, it'd be enough to have only
--create-session-tokenwith string value (' ' means default value) and drop--session-rules.