Skip to content

Commit

Permalink
Adding SERVICE_TOKEN_SECRET to Rust SDK Serve command
Browse files Browse the repository at this point in the history
  • Loading branch information
sordina committed Sep 13, 2023
1 parent 17826f9 commit 702f949
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust-connector-sdk/src/default_main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ struct ServeCommand {
otlp_endpoint: Option<String>, // NOTE: `tracing` crate uses `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT` ENV variable, but we want to control the endpoint via CLI interface
#[arg(long, value_name = "PORT", env = "PORT", default_value = "8100")]
port: Port,
#[arg(long, value_name = "SERVICE_TOKEN_SECRET", env = "SERVICE_TOKEN_SECRET")]
service_token_secret: Option<String>,
}

#[derive(Clone, Parser)]
Expand Down

0 comments on commit 702f949

Please sign in to comment.