aker-gateway / Aker

SSH bastion/jump host/jumpserver
Other
567 stars 81 forks source link

[RFE] cache FreeIPA results locally #29

Closed anazmy closed 6 years ago

anazmy commented 7 years ago

In a production environment it wont be idle to query FreeIPA (reterive hosts) on each and every user login, ideally Aker should maintain a local cache of the hosts once fetched from FreeIPA, with ability for manual refresh based on user input, F5 for example .

anazmy commented 7 years ago

initial thought here

Will need 3 objects : 1- user (dict backed by redis ) 2- server ( dict backed by redis) 3- serverlist (list backed by redis)

logic should be like

anazmy commented 7 years ago

scratch above , need to separate hosts from identity provider i.e. authority

anazmy commented 7 years ago

caching/redis applied