Pass endpoint to the client (#811)
This allows us to automatically set TLS parameters, useful for `boundary connect http` and some other features to come.
This commit is contained in:
1 parent
71ed04db9b
commit
d4a6efb363
9 files changed
+101
-46
No files matched your search
@@ -105,6 +105,9 @@ message SessionAuthorizationData {
|
||||
// Output only. The host ID...not used for security purposes, but for some special command handling (e.g. ssh host key aliasing).
|
||||
string host_id = 140;
|
||||
|
||||
// Output only. The endpoint, for some special command handling.
|
||||
string endpoint = 141;
|
||||
|
||||
// Output only. Worker information. The first worker in the array should be prioritized.
|
||||
repeated WorkerInfo worker_info = 150 [json_name="worker_info"];
|
||||
}
|
||||
@@ -137,4 +140,7 @@ message SessionAuthorization {
|
||||
|
||||
// Output only. The marshaled SessionAuthorizationData message containing all information that the proxy needs.
|
||||
string authorization_token = 90 [json_name="authorization_token"];
|
||||
|
||||
// Output only. The endpoint address that the worker will connect to, useful for setting TLS parameters.
|
||||
string endpoint = 100;
|
||||
}
|
||||
Reference in new issue
Block a user