You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.
Hi:
Excuse me for interrupting you.
I use a redis session plugin which search from github and it works,and change token backends from file to redis on salt-master,
Mainly I use the login and run two functions.
Here is the problems I meet in my environment:;
1 file session backend do not delete session as session has already expire in my environment.
2 too many session lock files when too many requests
I see token get from login url is not the real token which checked by salt-master,but is the session-id, and put the real token in session file.
And people will put the session id in http header and post it to the run url,cherrpy will fetch the real token from session file according to the session id in http header
If fetch the real salt-token from login, and disable the session function,and put real-token in http body instead of put session-id in http header, and put the token to salt-master directly.
It would be possible? Thanks very much!
The text was updated successfully, but these errors were encountered:
It is possible to use Salt's eauth tokens directly instead of the session tokens. salt-api provides a few, lightweight checks but Salt's LocalClient actually enforces authentication and authorization. The /run and /events endpoints can both bypass the salt-api session checks.
Hi:
Excuse me for interrupting you.
I use a redis session plugin which search from github and it works,and change token backends from file to redis on salt-master,
Mainly I use the login and run two functions.
Here is the problems I meet in my environment:;
1 file session backend do not delete session as session has already expire in my environment.
2 too many session lock files when too many requests
It would be possible? Thanks very much!
The text was updated successfully, but these errors were encountered: