Skip to content

Commit 94569f8

Browse files
ManuelBilbaojclapis
authored andcommitted
Add docs
1 parent f3d6528 commit 94569f8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

crates/common/src/config/signer.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,14 @@ pub struct SignerConfig {
8181
#[serde(default = "default_u32::<SIGNER_JWT_AUTH_FAIL_TIMEOUT_SECONDS_DEFAULT>")]
8282
pub jwt_auth_fail_timeout_seconds: u32,
8383

84+
/// Path to the TLS certificates directory.
85+
/// It must contain a `cert.pem` and a `key.pem` file
86+
#[serde(default = "default_certs_path")]
87+
pub tls_certificates: PathBuf,
88+
8489
/// Inner type-specific configuration
8590
#[serde(flatten)]
8691
pub inner: SignerType,
87-
#[serde(default = "default_certs_path")]
88-
pub tls_certificates: PathBuf,
8992
}
9093

9194
impl SignerConfig {

0 commit comments

Comments
 (0)