boundary icon indicating copy to clipboard operation
boundary copied to clipboard

Expose session proxies to CLI

Open tyler-jachetta opened this issue 4 years ago • 1 comments
trafficstars

I may be missing something in the API here, apologies if so

I am trying to use the CLI to get the proxy for a session to a given target. I'm having difficulty finding the proxy ports anywhere in the API. if it doesn't exist, it really seems like it should be a property on the Session object.

Describe the solution you'd like The Session API should include a property describing the proxy for that session, if one is present. It might be nice to also have some direct property/attribute on a target so that one could get all of the active sessions for a target off of that target directly, but that's maybe another PR?

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Explain any additional use-cases Any tooling that would like to leverage boundary in order to e.g. keep ports up to date in configuration files could definitely make use of this . I intend to use it for that in the future

tyler-jachetta avatar Nov 04 '21 16:11 tyler-jachetta

Thanks for trying out Boundary @tyler-jachetta - when you say this

I am trying to use the CLI to get the proxy for a session to a given target

do you mean you're using boundary connect?

malnick avatar Nov 19 '21 01:11 malnick

Closing due to inactivity.

malnick avatar Dec 19 '22 18:12 malnick