You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Usage: "URL of the remote dummy DCAP service. Only with --client-attestation-type dummy.",
34
69
},
35
70
/// Run a proxy server
36
71
Server{
37
72
/// Socket address to listen on
38
73
#[arg(short, long, default_value = "0.0.0.0:0")]
39
-
address:SocketAddr,
74
+
listen_addr:SocketAddr,
40
75
/// Socket address of the target service to forward traffic to
41
-
target_address:SocketAddr,
76
+
target_addr:SocketAddr,
42
77
/// The path to a PEM encoded private key
43
78
#[arg(long)]
44
-
private_key:PathBuf,
79
+
tls_private_key_path:PathBuf,
45
80
/// The path to a PEM encoded certificate chain
46
81
#[arg(long)]
47
-
cert_chain:PathBuf,
82
+
tls_certificate_path:PathBuf,
48
83
/// Whether to use client authentication. If the client is running in a CVM this must be
49
84
/// enabled.
50
85
#[arg(long)]
51
86
client_auth:bool,
87
+
// TODO missing:
88
+
// Name: "listen-addr-healthcheck",
89
+
// EnvVars: []string{"LISTEN_ADDR_HEALTHCHECK"},
90
+
// Value: "",
91
+
// Usage: "address to listen on for health checks",
92
+
//
93
+
// Name: "server-attestation-type",
94
+
// EnvVars: []string{"SERVER_ATTESTATION_TYPE"},
95
+
// Value: string(proxy.AttestationAuto),
96
+
// Usage: "type of attestation to present (" + proxy.AvailableAttestationTypes + "). Set to " + string(proxy.AttestationDummy) + " to connect to a remote tdx quote provider. Defaults to automatic detection.",
97
+
//
98
+
// Name: "client-measurements",
99
+
// EnvVars: []string{"CLIENT_MEASUREMENTS"},
100
+
// Usage: "optional path to JSON measurements enforced on the client",
0 commit comments