Skip to main content

Module init

Module init 

Source
Expand description

Vault initialization logic.

Structs§

DiscoveredKey
A key discovered from the environment or .env file.
InitStatus
Status of an existing vault relative to a given key.

Functions§

check_init_status
Check whether a secret key is authorized in an existing vault.
create_vault
Create a new vault with a single recipient.
discover_existing_key
Try to find an existing age key: checks MURK_KEY env var first, then falls back to .env file. Returns None if neither is set.