Hi, is there an option to set target port thru connect command?
According to docs, “Boundary will use the default_port… if the user does not specify a different port when establishing the session” but I didn’t find an option to set target port on boundary connect command. Do I need to create one target per port per host_set?
Correct. The user cannot choose the port; that would be problematic in terms of the security guarantees.
Where the “default” part of it will come into play will be as we add service catalogs as host catalogs, where a host set would map to a service, but the hosts implementing the service are not necessarily running it on the same port on every host, so would be overridable at a host level – but importantly, in that model, a host maps to a service implementation, not to the underlying hardware running it.
Hi @jeff@omkensey
Since we need to have one target per port per host-set , so we must have same port hosts in one host-set . (As one target can have only one default-port).
We are currently using boundary to access postgres and mysql DBs . Trying to figure out how to group those DBs in host-set and create targets from those host-set .
Example - Postgres has default port = 5432 and mysql has default port = 3306 .
One target can have multiple host-sets but only one default port .
So we cannot group postgres DB and mysql DB in same host-set which is present in one target.
We will need 2 targets ,one with 5432 as default port and another one with 3306.
And each target with a single host-set .One host-set will have all postgres DBs and another host-set will have all mysql DBs .
This set up seems ok until I am using credential store .One credential store can generate creds for only one host .(I tried multi credential store in multi host target . It always generated dynamic credentials from only one of the credential stores ) .So in one target I can only add one host as only one credential store will be generating single cred only .
In total one target maps to single host-set and single credential store with host-set having single host .
Please correct me if I am missing something .
Thanks in advance .