aker-gateway / Aker

SSH bastion/jump host/jumpserver
Other
566 stars 71 forks source link

[RFE] Implement configuration of authorities #30

Closed faux-eccles closed 7 years ago

faux-eccles commented 7 years ago

Currently in "aker.py" on line 69: self.hosts = Hosts(username,gateway_hostgroup)

This will return an object for the FreeIPA integration (Which I will refer to as an authority), which implements a method that will return a list of hostnames.

I suggest a change that would allow mutliple authorities to be implemented, and chosen via configuration.

Hosts.py

Aker.py

anazmy commented 7 years ago

thx @lankyninja , indeed I have something similar in mind when another identity provider (Authority) comes into the picture

anazmy commented 7 years ago

if you find time to submit a PR for such change , that would be great.

Thanks

faux-eccles commented 7 years ago

I have a POC already on my local box. Will create a PR

anazmy commented 7 years ago

thanks !