Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveEncryptionKey ¶
ResolveEncryptionKey determines the encryption key to use.
Resolution logic:
- No env var + no stored key → generate, store, and return
- No env var + stored key → load and return
- Env var + no stored key → store env value and return
- Env var matches stored → return
- Env var mismatches stored → return error with instructions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.