// SPDX-FileCopyrightText: © 2026 Jeffrey C. Ollie // SPDX-License-Identifier: MIT //! A client for the HashiCorp Vault HTTP API. //! //! Start with `Client`, which handles the address, token and TLS trust store, //! then use the secret-engine helpers: //! //! * `kv2` — the versioned key/value engine mounted at `secret/` by default. //! Reads, writes with check-and-set, merge patches, and the soft-delete, //! undelete and destroy operations on individual versions. //! * `kv1` — the flat key/value engine, `cubbyhole/`, and other engines that //! answer a plain `{"data": {...}}` envelope. //! * `token` — the token's own lifecycle: looking it up, renewing it before //! its lease runs out, and revoking it. `token.Renewer` is the piece that //! keeps a long-running program's token alive. //! //! Anything without a helper is reachable through `Client.read`, //! `Client.readAs`, `Client.write`, `Client.delete` and `Client.request`. const std = @import("std"); pub const Client = @import("Client.zig"); pub const kv1 = @import("kv1.zig"); pub const kv2 = @import("kv2.zig"); pub const token = @import("token.zig"); /// Errors this library raises for Vault-level failures, as opposed to /// transport or allocation failures. pub const Error = Client.Error; test { std.testing.refAllDecls(@This()); _ = Client; _ = kv1; _ = kv2; _ = token; _ = @import("http_test.zig"); }