I am working on prototype for my project which will work like this:
- a user requests console access to one of his server using openstack API
- openstack API returns a url like https://yourserver.com?token=abscd234
- user copy pastes the lint into a browser
- yourserver.com request hits gateone server
- the token=abscd234 need to get validated by calling a opnestack API ( auth backend )
- validation of this token returns gateone: ssh-user, ssh-host, ssh-pass or key
- gateone redirects user to a page which auto-connects to given ssh-host
- information like enter ssh host is never asked from user or allowed to be given
- this token is only valid for a short time, it does not work for long time (~ 5 minutes )
- user has to call openstack API again to generate a unique URL if console access it required after his session expired
So far I have managed to hack the auth.py to use openstack token validation and it works. I also create a user with name as unique identifier of console request.
Can you please give me some pointers on implementing this ?
Bit lost in the gateone code while looking for ways to implement this.
Thanks in advance!
I am working on prototype for my project which will work like this:
So far I have managed to hack the auth.py to use openstack token validation and it works. I also create a user with name as unique identifier of console request.
Can you please give me some pointers on implementing this ?
Bit lost in the gateone code while looking for ways to implement this.
Thanks in advance!