required_vars (validation/raw.rs)

kingfisher · crates/kingfisher-scanner/src/validation/raw.rs · rust · Apache-2.0
email

Provider‑specific raw validators for secret formats, performing network checks and TLS handling.

// Source: https://github.com/mongodb/kingfisher | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
//! Provider-specific raw validators for secret formats that need custom protocol logic.

mod smtp;
pub(crate) use smtp::{
    is_parseable_uri as is_parseable_smtp_uri, validate_uri as validate_smtp_uri,
};

use super::limits::timeout;
use std::{
    collections::BTreeSet,
    sync::{Arc, OnceLock},
    time::{Duration, SystemTime, UNIX_EPOCH},
};

use anyhow::{Context, Result, anyhow};
use base64::{Engine, engine::general_purpose::STANDARD as B64};
use chrono::{DateTime, Utc};
use hmac::{Hmac, Mac, digest::KeyInit};
use http::StatusCode;
use ldap3::LdapConnSettings;
use liquid::Objec

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key