Skip to main content

Crate uselesskey_cli

Crate uselesskey_cli 

Source
Expand description

Export/bundle helpers for uselesskey fixture handoff.

This crate intentionally focuses on one-shot local export targets and metadata manifests. It does not implement rotation, retrieval, leasing, or long-running key-store behavior.

Structs§

BundleManifest
Bundle manifest describing generated artifacts and handoff metadata.
ExportArtifact
In-memory artifact material and metadata used by exporters.
Fingerprint
Cryptographic fingerprint metadata.
ManifestArtifact
Per-artifact metadata in BundleManifest.
MaterializeFixtureSpec
One fixture entry in a MaterializeManifest.
MaterializeManifest
Manifest describing deterministic fixture outputs that can be written or verified.
MaterializeSummary
Summary returned after a materialize or verify pass.

Enums§

ArtifactType
Artifact kinds for bundle metadata.
BundleError
Export errors.
KeyRef
Secret-key external reference model.
MaterializeError
Errors for manifest-driven fixture materialization.
MaterializeKind
Supported fixture kinds for manifest-driven materialization.

Constants§

MATERIALIZE_MANIFEST_VERSION
Materialization manifest schema version supported by this crate.

Functions§

emit_include_bytes_module
Emit a Rust module containing include_bytes! constants for each manifest entry.
export_envdir
Write artifacts as envdir files (root/<ENV_VAR_NAME> => value).
export_flat_files
Write a set of artifacts to root/<key> as flat files.
load_materialize_manifest
Load and validate a manifest from disk.
materialize_manifest_file
Load a manifest from disk, then materialize or verify it under out_dir.
materialize_manifest_to_dir
Materialize or verify the manifest contents under out_dir.
parse_materialize_manifest_str
Parse a manifest string and validate the supported schema.
render_dotenv_fragment
Render dotenv fragment (KEY="value") using the first env-var name per artifact.
render_k8s_secret_yaml
Render a Kubernetes Secret manifest (opaque string data encoded as base64 under data).
render_sops_ready_yaml
Render a SOPS-ready YAML skeleton with encrypted placeholders and metadata section.
render_vault_kv_json
Render a Vault KV-v2 JSON payload ({"data":{...},"metadata":{...}}).