Skip to content

Commit

Permalink
Merge pull request #1 from grahambinns/add-expiration-field-to-genera…
Browse files Browse the repository at this point in the history
…te-cert-response

Add the `expiration` field to GenerateCertificateResponse.
  • Loading branch information
grahambinns authored Jun 28, 2023
2 parents 42c2257 + 0948ae8 commit 24127da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/pki/responses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use serde::{Deserialize, Serialize};
pub struct GenerateCertificateResponse {
pub ca_chain: Option<Vec<String>>,
pub certificate: String,
pub expiration: Option<u32>,
pub issuing_ca: String,
pub private_key: String,
pub private_key_type: String,
Expand Down

0 comments on commit 24127da

Please sign in to comment.