Expand description
Startup unlock: build the method registry from flags, check bundle perms,
open the sealed bundle, and exchange AppRole creds for a short-lived token.
Every step is fallible-by-Result and fails closed (clean non-zero exit,
no panic, §1.3 / §5 of designs/unlock-and-bundle.html).
Structs§
- Unlock
Args - Unlock-method selection flags.
Functions§
- approle_
login - Exchange an
AppRolerole_id+secret_idfor a short-lived token at the baoAppRolelogin endpoint (§5 step 6). Returns the client token. - open_
bundle_ at_ startup - Read + check perms of the bundle file, then unlock it into a
CredBundle.