export bao client-cert not_before/not_after gauges and alert past 80% of lifetime
This commit is contained in:
parent
daea7a56be
commit
078696aaee
1 changed files with 604 additions and 53 deletions
|
|
@ -31,6 +31,7 @@
|
|||
|
||||
pub mod acp;
|
||||
pub mod builder;
|
||||
pub mod cert;
|
||||
pub mod ci;
|
||||
pub mod ci_metrics;
|
||||
pub mod claude_login;
|
||||
|
|
@ -103,6 +104,10 @@ pub enum Error {
|
|||
/// identity needs. Names the field, never its value.
|
||||
#[error("the store issued a certificate whose {0} is empty")]
|
||||
IncompleteIssue(&'static str),
|
||||
|
||||
/// The text was not one PEM-encoded X.509 certificate.
|
||||
#[error("decoding the certificate: {0}")]
|
||||
Certificate(String),
|
||||
}
|
||||
|
||||
impl From<vaultrs::error::ClientError> for Error {
|
||||
|
|
|
|||
Loading…
Reference in a new issue