Skip to main content

Module dev_store_path

Module dev_store_path 

Source
Expand description

Dev secrets store management for bundle setup.

Provides helpers for locating the dev secrets file and SecretsSetup for ensuring pack secrets are seeded.

Structs§

SecretsSetup
Single entry-point for secrets initialization and resolution.

Functions§

default_path
Returns the default dev store path without creating anything.
ensure_path
Ensures the default dev store path exists (creating parent directories) before returning it.
find_existing
Checks for an existing dev store inside the bundle root.
find_existing_with_override
Looks for an existing dev store using an override path before consulting default candidates.
load_secret_keys_from_pack
Load secret requirement keys from a .gtpack archive.
open_dev_store
Open a DevStore from a bundle root path (convenience).
override_path
Returns a path explicitly configured via $GREENTIC_DEV_SECRETS_PATH.